This is the preprocessing script to prepare the data to run analyses for the project “Anxiety, depression and trauma symptom change during the COVID-19 pandemic: retrospective versus objective assessment” - Young et al (2020)

Script written by K Purves, K Thompson, C Huebel and M Davies. Email: , , ,

#Set up

Clear global environment

Retrieve the current date to use it for file endings to not overwrite files when one exports files

Specify cohort

#Packages Install packages (if they are not available in your version of R)

Load packages

Registered S3 method overwritten by 'pryr':
  method      from
  print.bytes Rcpp
Loading required package: ggplot2

Attaching package: 'ggplot2'
The following objects are masked from 'package:psych':

    %+%, alpha
── Attaching packages ──────────────────────────────────────────────────────────────────────────────────── tidyverse 1.3.0 ──
✓ tibble  3.0.3     ✓ dplyr   1.0.1
✓ tidyr   1.1.1     ✓ stringr 1.4.0
✓ readr   1.3.1     ✓ forcats 0.5.0
✓ purrr   0.3.4     
── Conflicts ─────────────────────────────────────────────────────────────────────────────────────── tidyverse_conflicts() ──
x ggplot2::%+%()   masks psych::%+%()
x ggplot2::alpha() masks psych::alpha()
x dplyr::filter()  masks stats::filter()
x dplyr::lag()     masks stats::lag()
x tibble::view()   masks summarytools::view()

Colour palettes

Define colours for plotting this are the standard coping colours

Choose in this chunk which palette to use 04.07.2020 - Default to 2 colour COPING palette

#Add_numeric function Function used to convert character variables into numeric variables.

Data import and merging

Note: GLAD only receives current measures and RAMP questionnaire Note: All COPING surveys are separate surveys

Source data file paths

Demographics

GLAD

Read in data

Select variables

EDGI

Read in data

Select variables

NBR

Read in data

Select variables

Cohort information

Information on INTERVAL, COMPARE, and STRIDES http://www.donorhealth-btru.nihr.ac.uk/studies/

RAMP

Read in data

 [1] "externalDataReference"                                       
 [2] "startDate"                                                   
 [3] "endDate"                                                     
 [4] "Login ID"                                                    
 [5] "demographics.how_old_are_you"                                
 [6] "demographics.which_gender_do_you_identify_with"              
 [7] "demographics.are_you_pregnant"                               
 [8] "demographics.what_is_your_current_maritalrelationship_status"
 [9] "demographics.living_situation_change_pandemic"               
[10] "demographics.living_alone"                                   
[11] "demographics.living_with_partner_or_spouse"                  
[12] "demographics.living_with_housemates"                         
[13] "demographics.age_children_living"                            
[14] "demographics.living_children_under_the_age_of_18"            
[15] "demographics.living_with_other_members_of_my_family"         
[16] "demographics.spouse_partner_members_living"                  
[17] "demographics.staying_live"                                   
[18] "demographics.staying_live.1"                                 
[19] "demographics.prefer_not_to_say"                              
[20] "demographics.describe_relationships_live_living"             
[21] "demographics.cats"                                           
[22] "demographics.dogs"                                           
[23] "demographics.fish"                                           
[24] "demographics.bird"                                           
[25] "demographics.reptile"                                        
[26] "demographics.small_rodent"                                   
[27] "demographics.other_please_specify_species"                   
[28] "demographics.other_please_specify_species_text.txt"          
[29] "demographics.none"                                           
[30] "demographics.02_years"                                       
[31] "demographics.35_years"                                       
[32] "demographics.610_years"                                      
[33] "demographics.1115_years"                                     
[34] "demographics.1618_years"                                     
[35] "demographics.email_address_send_follow"                      
[36] "demographics.email_address_send_follow.1"                    
[37] "demographics.count_bathrooms_bedrooms_hallways"              
[38] "demographics.vulnerable_group_member"                        
[39] "demographics.solid_organ_transplant_recipient"               
[40] "demographics.lung_cancer_radical_radiotherapy"               
[41] "demographics.bone_marrow_leukaemia_lymphoma"                 
[42] "demographics.immunotherapy_cancer_continuing_antibody"       
[43] "demographics.parp_inhibitors_affect_immune"                  
[44] "demographics.stem_cell_transplants_bone"                     
[45] "demographics.cystic_fibrosis_severe_asthma"                  
[46] "demographics.inborn_errors_metabolism_infections"            
[47] "demographics.taking_medicine_that_weakens_your_immune_system"
[48] "demographics.condition_infections_makes"                     
[49] "demographics.congenital_pregnant_acquired_significant"       
[50] "demographics.pregnant"                                       
[51] "demographics.over_70_years_old"                              
[52] "demographics.prefer_not_to_say.1"                            
[53] "demographics.unsure"                                         
[54] "demographics.do_you_identify_as_transgender"                 
[55] "demographics.adult_children_pandemic_returned"               
[56] "demographics.adult_children_pandemic_returned.txt"           
[57] "demographics.where_in_the_uk_do_you_live.txt"                
[58] "demographics.what_is_your_sexual_orientation"                
[59] "demographics.what_is_your_sexual_orientation.txt"            
[60] "demographics.what_is_your_ethnic_origin"                     
[61] "demographics.what_is_your_ethnic_origin.txt"                 
[62] "demographics.living_alone.1"                                 
[63] "demographics.living_with_partner_or_spouse.1"                
[64] "demographics.living_with_housemates.1"                       
[65] "demographics.age_children_living.1"                          
[66] "demographics.living_children_under_the_age_of_18.1"          
[67] "demographics.living_with_other_members_of_my_family.1"       
[68] "demographics.spouse_partner_members_living.1"                
[69] "demographics.staying_live.2"                                 
[70] "demographics.staying_live.3"                                 
[71] "demographics.prefer_not_to_say.2"                            
[72] "demographics.household_living_place_answer"                  
[73] "demographics.do_you_have_any_children"                       
[74] "demographics.adult_children_living_home"                     
[75] "demographics.under_50_years"                                 
[76] "demographics.5060_years"                                     
[77] "demographics.6170_years"                                     
[78] "demographics.7180_years"                                     
[79] "demographics.81_years"                                       

Select variables

[1] 34

Demographics variable creation

Gender categories synchronised

RAMP has the correct Gender categories so does not need editing.

Ethnicity recoding

Clean Age variable

Age outlier

Categorise age into groups

In RAMP, age is indicated categorically: 16-18, 19-25, 26-35, 36-45, 46-55, 56-65, 66-70, 71-75, 76-80, 81-85, 86-90, 91-100, 100+ Age categories in GLAD, EDGI and NBR have been created to reflect this

Highest education (prepandemic, GLAD & EDGI)

Proceed along qualifications fields. If field is not blank, take that as highest qual. If field is blank, check next field. If all fields are blank, NA Assumes University degree > A level > NVQ > GCSE/O Level/CSE

Check highest education coding

Employment

GLAD

Read in data

Select variables

EDGI

Read in data

Select variables

NBR

Read in data

Select variables

RAMP

Read in data

 [1] "externalDataReference"                                
 [2] "startDate"                                            
 [3] "endDate"                                              
 [4] "Login ID"                                             
 [5] "employment.what_is_your_highest_level_of_education"   
 [6] "employment.fulltime_employed"                         
 [7] "employment.parttime_employed"                         
 [8] "employment.unemployed"                                
 [9] "employment.zerohours_contract"                        
[10] "employment.stayathome_parent_or_carer"                
[11] "employment.selfemployed"                              
[12] "employment.contract_or_freelance_work"                
[13] "employment.small_business_owner"                      
[14] "employment.receiving_state_income"                    
[15] "employment.retired"                                   
[16] "employment.student_gcse_or_a_level"                   
[17] "employment.student_university"                        
[18] "employment.my_employment_status_has_not_changed"      
[19] "employment.became_unemployed"                         
[20] "employment.reduction_in_hours"                        
[21] "employment.reduction_in_salary"                       
[22] "employment.benefits_increased"                        
[23] "employment.benefits_decreased"                        
[24] "employment.change_in_duties_or_responsibilities"      
[25] "employment.became_employed"                           
[26] "employment.increased_hours"                           
[27] "employment.increased_salary"                          
[28] "employment.furloughed_or_paid_leave_government_funded"
[29] "employment.furloughed_or_paid_leave_company_funded"   
[30] "employment.paid_leave_furloughed"                     
[31] "employment.other"                                     
[32] "employment.other_text.txt"                            
[33] "employment.no_impact"                                 
[34] "employment.cancelled_exams"                           
[35] "employment.change_in_format_of_exams"                 
[36] "employment.automatic_pass"                            
[37] "employment.change_in_deadlines"                       
[38] "employment.change_in_lesson_delivery"                 
[39] "employment.past_performance_grade_decided"            
[40] "employment.cancelled_classes"                         
[41] "employment.cannot_complete_degree"                    
[42] "employment.impact_on_studies_still_unknown"           
[43] "employment.other.1"                                   
[44] "employment.other_text.txt.1"                          
[45] "employment.complete_home_work"                        
[46] "employment.are_you_currently_working_from_home"       
[47] "employment.role_type"                                 
[48] "employment.does_your_job_include_caring_for_others"   
[49] "employment.is_your_job_public_facing_"                
[50] "employment.government_work_key_workers"               
[51] "employment.government_work_key_workers.txt"           
[52] "employment.work_attend_work_encouraged"               
[53] "employment.scale_line_losing_click"                   
[54] "employment.increased_due_job_pandemic"                
[55] "employment.role_type.1"                               
[56] "employment.role_type.txt"                             

Select variables

[1] 34

Highest education (baseline, GLAD, EDGI, NBR)

Proceed along qualifications fields. If field is not blank, take that as highest qual. If field is blank, check next field. If all fields are blank, NA Assumes University degree > A level > NVQ > GCSE/O Level/CSE

Check highest education coding

Highest education (baseline, RAMP)

Frequencies  
employment.raw.id$highest_education  
Type: Factor  

                   Freq   % Valid   % Valid Cum.   % Total   % Total Cum.
---------------- ------ --------- -------------- --------- --------------
        GCSE/CSE   1249     14.80          14.80     13.08          13.08
        A-levels   1708     20.24          35.04     17.89          30.97
      University   5483     64.96         100.00     57.43          88.40
            <NA>   1107                              11.60         100.00
           Total   9547    100.00         100.00    100.00         100.00
Check highest education coding for RAMP

Key worker status

Frequencies  
employment.raw.id$key_worker  
Type: Factor  

                      Freq   % Valid   % Valid Cum.   % Total   % Total Cum.
------------------- ------ --------- -------------- --------- --------------
      No key worker   5903     67.97          67.97     61.83          61.83
         Key worker   2782     32.03         100.00     29.14          90.97
               <NA>    862                               9.03         100.00
              Total   9547    100.00         100.00    100.00         100.00

Columns to exclude from add_numeric

mhd

GLAD

EDGI

NBR

RAMP

 [1] "externalDataReference"                                 
 [2] "startDate"                                             
 [3] "endDate"                                               
 [4] "Login ID"                                              
 [5] "NA.30.depression"                                      
 [6] "NA.30.pregnancy_depression"                            
 [7] "NA.30.premenstrual_dysphoric_disorder_pmdd"            
 [8] "NA.30.mania_hypomania_bipolar_or_manicdepression"      
 [9] "NA.30.anxiety_nerves_or_generalised_anxiety_disorder"  
[10] "NA.30.social_anxiety_or_social_phobia"                 
[11] "NA.30.specific_phobia_e.g._phobia_of_flying"           
[12] "NA.30.agoraphobia"                                     
[13] "NA.30.panic_disorder"                                  
[14] "NA.30.panic_attacks"                                   
[15] "NA.30.posttraumatic_stress_disorder_ptsd"              
[16] "NA.30.obsessivecompulsive_disorder_ocd"                
[17] "NA.30.body_dysmorphic_disorder_bdd"                    
[18] "NA.30.skin_picking_obsessive_compulsive"               
[19] "NA.30.obsessive_compulsive_related_disorder.txt"       
[20] "NA.30.none_of_these"                                   
[21] "NA.30.dont_know"                                       
[22] "NA.30.prefer_not_to_answer"                            
[23] "NA.30.anorexia_nervosa"                                
[24] "NA.30.atypical_anorexia_nervosa"                       
[25] "NA.30.bulimia_nervosa"                                 
[26] "NA.30.psychological_overeating_or_bingeeating_disorder"
[27] "NA.30.schizophrenia"                                   
[28] "NA.30.schizoaffective_disorder"                        
[29] "NA.30.psychosis_type_psychotic_illness"                
[30] "NA.30.personality_disorder"                            
[31] "NA.30.autism_aspergers_or_autistic_spectrum_disorder"  
[32] "NA.30.attention_deficit_hyperactivity_disorder"        
[33] "NA.30.other_please_tell_us_more"                       
[34] "NA.30.other_please_tell_us_more_text.txt"              
[35] "NA.30.none_of_these.1"                                 
[36] "NA.30.dont_know.1"                                     
[37] "NA.30.prefer_not_to_answer.1"                          
[38] "NA.30.personality_disorder_diagnosed"                  
[1] 34

Grouping mental health disorders

#Disorder groupings - from COPING/RAMP analysis minutes 1. Depressive disorder group: major depression, antenatal/postnatal depression, premenstrual depression. The logic for this has been double checked for males - KT/MD. 2. Anxiety group: generalised anxiety, social anxiety, specific phobia, agoraphobia, panic_disorder, panic_attacks. 3. Agoraphobia and panic_disorder group: panic_disorder, agoraphobia, panic_attacks. 4. Eating disorders group: anorexianervosa, atypical anorexia nervosa, bulimia nervosa, overeating or bingeeating. 5. Obsessive complusive disorders: obsessive compulaive disorder, obsessive compulsive related disorders. 6. Psychotic disorders: schizophrenia, schizoaffective disorder, general psychosis or psychotic illness. 7. Personality disorders: cluster A, cluster B, cluster C 8. Control group: no diagnosed disorders.

Disorders of interest MDD and other depressive disorders Anxiety, nerves or generalised anxiety disorder Social anxiety Specific phobia Agoraphobia/panic disorder/panic attacks OCD (& OCD-related disorders e.g., skin picking?) PTSD Bipolar Eating disorders (Anorexia, BE-type EDs) Personality disorder: Clusters A, B, and C No-diagnosis group

Analysis plan of Disorders: KY and KP analysis plan 1. Basic: any anxiety or unipolar depressive disorder vs. those with no prior diagnosis 2. Specific: breakdown by type of prior anxiety (& related) disorder diagnosis 3. Breakdown by COVID or not (using COVIDENCE/Zoe algorithm)

Depressive disorders

Warning: Problem with `mutate()` input `depressive_disorders`.
x NAs introduced by coercion
ℹ Input `depressive_disorders` is `recode_factor(...)`.
Warning in recode.numeric(.x, !!!values, .default = .default, .missing
= .missing): NAs introduced by coercion
Frequencies  
mhd.raw.id$depressive_disorders  
Type: Factor  

                               Freq   % Valid   % Total
---------------------------- ------ --------- ---------
      No depressive disorder   4323     49.56     45.28
         Depressive disorder   4400     50.44     46.09
                        <NA>    824                8.63
                       Total   9547    100.00    100.00

Anxiety disorders

Warning: Problem with `mutate()` input `anxiety_disorders`.
x NAs introduced by coercion
ℹ Input `anxiety_disorders` is `recode_factor(...)`.
Warning in recode.numeric(.x, !!!values, .default = .default, .missing
= .missing): NAs introduced by coercion
Frequencies  
mhd.raw.id$anxiety_disorders  
Type: Factor  

                            Freq   % Valid   % Total
------------------------- ------ --------- ---------
      No anxiety disorder   4906     56.24     51.39
         Anxiety disorder   3817     43.76     39.98
                     <NA>    824                8.63
                    Total   9547    100.00    100.00

Agoraphobia and panic disorder group

Warning: Problem with `mutate()` input `agoraphobia_panic_disorder`.
x NAs introduced by coercion
ℹ Input `agoraphobia_panic_disorder` is `recode_factor(...)`.
Warning in recode.numeric(.x, !!!values, .default = .default, .missing
= .missing): NAs introduced by coercion
Frequencies  
mhd.raw.id$agoraphobia_panic_disorder  
Type: Factor  

                                      Freq   % Valid   % Valid Cum.   % Total   % Total Cum.
----------------------------------- ------ --------- -------------- --------- --------------
      No agoraphobia/panic disorder   6928     79.42          79.42     72.57          72.57
         Agoraphobia/panic disorder   1795     20.58         100.00     18.80          91.37
                               <NA>    824                               8.63         100.00
                              Total   9547    100.00         100.00    100.00         100.00

Depression and anxiety comorbidity

Warning: Problem with `mutate()` input `depression_and_anxiety`.
x NAs introduced by coercion
ℹ Input `depression_and_anxiety` is `recode_factor(...)`.
Warning in recode.numeric(.x, !!!values, .default = .default, .missing
= .missing): NAs introduced by coercion
Frequencies  
mhd.raw.id$depression_and_anxiety  
Type: Factor  

                                          Freq   % Valid   % Total
--------------------------------------- ------ --------- ---------
      No depressive or anxiety disorder   3412     39.11     35.74
        Depressive and anxiety disorder   2906     33.31     30.44
               Only depressive disorder   1494     17.13     15.65
                  Only anxiety disorder    911     10.44      9.54
                                   <NA>    824                8.63
                                  Total   9547    100.00    100.00

Eating disorders

There is routing questionnaire if participants have been diagnosed with an eating disorder and afterwards they get asked the specific disorders. Therefore, mhd.suspected_eating_disorder_diagnosed_numeric needs to be recoded as 0 otherwise they would be NAs.

Warning: Problem with `mutate()` input `eating_disorders`.
x NAs introduced by coercion
ℹ Input `eating_disorders` is `recode_factor(...)`.
Warning in recode.numeric(.x, !!!values, .default = .default, .missing
= .missing): NAs introduced by coercion
Frequencies  
mhd.raw.id$eating_disorders  
Type: Factor  

                           Freq   % Valid   % Total
------------------------ ------ --------- ---------
      No eating disorder   7616     93.24     79.77
         Eating disorder    552      6.76      5.78
                    <NA>   1379               14.44
                   Total   9547    100.00    100.00

For EDGI does not include other eating disorders, such as purging disorder, rumination disorder, ARFID, or Pica

Eating disorders with binge eating vs eating disorders without Caveat: Anorexia nervosa can have binge eating as well. Therefore, this would need an additional variable from the ED100K

Warning: Problem with `mutate()` input `restricting_vs_binge_eating_eating_disorders`.
x NAs introduced by coercion
ℹ Input `restricting_vs_binge_eating_eating_disorders` is `recode_factor(...)`.
Warning in recode.numeric(.x, !!!values, .default = .default, .missing
= .missing): NAs introduced by coercion
Frequencies  
mhd.raw.id$restricting_vs_binge_eating_eating_disorders  
Type: Factor  

                                          Freq   % Valid   % Total
--------------------------------------- ------ --------- ---------
                     No eating disorder   7616     93.24     79.77
                       Anorexia nervosa    328      4.02      3.44
      Eating disorder with binge eating    224      2.74      2.35
                                   <NA>   1379               14.44
                                  Total   9547    100.00    100.00

Obsessive compulsive disorders

Warning: Problem with `mutate()` input `obsessive_compulsive_disorders`.
x NAs introduced by coercion
ℹ Input `obsessive_compulsive_disorders` is `recode_factor(...)`.
Warning in recode.numeric(.x, !!!values, .default = .default, .missing
= .missing): NAs introduced by coercion
Frequencies  
mhd.raw.id$obsessive_compulsive_disorders  
Type: Factor  

                                         Freq   % Valid   % Valid Cum.   % Total   % Total Cum.
-------------------------------------- ------ --------- -------------- --------- --------------
      No obsessive compulsive disorder   8040     92.17          92.17     84.21          84.21
         Obsessive compulsive disorder    683      7.83         100.00      7.15          91.37
                                  <NA>    824                               8.63         100.00
                                 Total   9547    100.00         100.00    100.00         100.00

Psychotic disorders

“mhd.schizophrenia_numeric”
“mhd.schizoaffective_disorder_numeric”
“mhd.type_psychosis_psychotic_illness_numeric”

Warning: Problem with `mutate()` input `psychotic_disorders`.
x NAs introduced by coercion
ℹ Input `psychotic_disorders` is `recode_factor(...)`.
Warning in recode.numeric(.x, !!!values, .default = .default, .missing
= .missing): NAs introduced by coercion
Frequencies  
mhd.raw.id$psychotic_disorders  
Type: Factor  

                              Freq   % Valid   % Valid Cum.   % Total   % Total Cum.
--------------------------- ------ --------- -------------- --------- --------------
      No psychotic disorder   7986     97.77          97.77     83.65          83.65
         Psychotic disorder    182      2.23         100.00      1.91          85.56
                       <NA>   1379                              14.44         100.00
                      Total   9547    100.00         100.00    100.00         100.00

Overlap between self-report schizophrenia and bipolar disorder +++CH: Check overlap between schizophrenia group and bipolar disorder ++KT: Only 63 with comorbid self-report bipolar disorder and schizophrenia. More likely to have shared symptoms, less likely to have confirmed diagnoses of both. Could be too severe to be in GLAD?

Warning: Problem with `mutate()` input `bipolar_and_schizophrenia`.
x NAs introduced by coercion
ℹ Input `bipolar_and_schizophrenia` is `recode_factor(...)`.
Warning in recode.numeric(.x, !!!values, .default = .default, .missing
= .missing): NAs introduced by coercion
Frequencies  
mhd.raw.id$bipolar_and_schizophrenia  
Type: Factor  

                                         Freq   % Valid   % Total
-------------------------------------- ------ --------- ---------
      No psychotic or bipolar disorder   7815     95.80     81.86
        Psychotic and bipolar disorder     88      1.08      0.92
               Only psychotic disorder     94      1.15      0.98
                 Only bipolar disorder    161      1.97      1.69
                                  <NA>   1389               14.55
                                 Total   9547    100.00    100.00

Autism spectrum disorder

Frequencies  
mhd.raw.id$autism_spectrum_disorder  
Type: Factor  

                                    Freq   % Valid   % Valid Cum.   % Total   % Total Cum.
--------------------------------- ------ --------- -------------- --------- --------------
      No autism spectrum disorder   7950     97.33          97.33     83.27          83.27
         Autism spectrum disorder    218      2.67         100.00      2.28          85.56
                             <NA>   1379                              14.44         100.00
                            Total   9547    100.00         100.00    100.00         100.00

Personality disorders

++KT: For all cluster coding chunks - have added other clusters as == 0, so that they are not coerced into NAs. Cluster A 1. Paranoid 28 ( 1.0%) 2. Schizoid 15 ( 0.5%) 3. Schizotypal 14 ( 0.5%)

Warning: Problem with `mutate()` input `personality_cluster_a`.
x NAs introduced by coercion
ℹ Input `personality_cluster_a` is `recode_factor(...)`.
Warning in recode.numeric(.x, !!!values, .default = .default, .missing
= .missing): NAs introduced by coercion
Frequencies  
mhd.raw.id$personality_cluster_a  
Type: Factor  

                                          Freq   % Valid   % Total
--------------------------------------- ------ --------- ---------
      No personality disorder cluster A   8132     99.85     85.18
         Personality disorder cluster A     12      0.15      0.13
                                   <NA>   1403               14.70
                                  Total   9547    100.00    100.00

Cluster B 4. Antisocial 24 ( 0.8%) 5. Borderline 2553 (89.4%) 6. Histrionic 7 ( 0.2%) 7. Narcissistic 8 ( 0.3%)

Warning: Problem with `mutate()` input `personality_cluster_b`.
x NAs introduced by coercion
ℹ Input `personality_cluster_b` is `recode_factor(...)`.
Warning in recode.numeric(.x, !!!values, .default = .default, .missing
= .missing): NAs introduced by coercion
Frequencies  
mhd.raw.id$personality_cluster_b  
Type: Factor  

                                          Freq   % Valid   % Total
--------------------------------------- ------ --------- ---------
      No personality disorder cluster B   7880     96.76     82.54
         Personality disorder cluster B    264      3.24      2.77
                                   <NA>   1403               14.70
                                  Total   9547    100.00    100.00

Cluster C 8. Avoidant/anxious 133 ( 4.7%) 9. Dependent 29 ( 1.0%) 10. Obsessive-compulsive

Warning: Problem with `mutate()` input `personality_cluster_c`.
x NAs introduced by coercion
ℹ Input `personality_cluster_c` is `recode_factor(...)`.
Warning in recode.numeric(.x, !!!values, .default = .default, .missing
= .missing): NAs introduced by coercion
Frequencies  
mhd.raw.id$personality_cluster_c  
Type: Factor  

                                          Freq   % Valid   % Total
--------------------------------------- ------ --------- ---------
      No personality disorder cluster C   8125     99.77     85.11
         Personality disorder cluster C     19      0.23      0.20
                                   <NA>   1403               14.70
                                  Total   9547    100.00    100.00

Controls

These individuals have no self report diagnosis of any kind that we measure.

Warning: Problem with `mutate()` input `control`.
x NAs introduced by coercion
ℹ Input `control` is `recode_factor(...)`.
Warning in recode.numeric(.x, !!!values, .default = .default, .missing
= .missing): NAs introduced by coercion
Frequencies  
mhd.raw.id$control  
Type: Factor  

                   Freq   % Valid   % Total
---------------- ------ --------- ---------
      No control   5747     66.21     60.20
         Control   2933     33.79     30.72
            <NA>    867                9.08
           Total   9547    100.00    100.00
Inspect the participants that do not qualify as double “None of these”

Total disorder count

Frequencies  
mhd.raw.id$disorders_total_count  
Type: Numeric  

              Freq   % Valid   % Total
----------- ------ --------- ---------
          0   3132     38.39     32.81
          1   1872     22.95     19.61
          2   1849     22.66     19.37
          3    713      8.74      7.47
          4    334      4.09      3.50
          5    160      1.96      1.68
          6     61      0.75      0.64
          7     26      0.32      0.27
          8      9      0.11      0.09
          9      2      0.02      0.02
       <NA>   1389               14.55
      Total   9547    100.00    100.00

Comorbidity count

Frequencies  
mhd.raw.id$comorbidity_total_count_numeric  
Type: Numeric  

              Freq   % Valid   % Total
----------- ------ --------- ---------
          0   1872     37.25     19.61
          1   1849     36.79     19.37
          2    713     14.19      7.47
          3    334      6.65      3.50
          4    160      3.18      1.68
          5     61      1.21      0.64
          6     26      0.52      0.27
          7      9      0.18      0.09
          8      2      0.04      0.02
       <NA>   4521               47.36
      Total   9547    100.00    100.00
Warning: Problem with `mutate()` input `comorbidity_total_count_factor`.
x NAs introduced by coercion
ℹ Input `comorbidity_total_count_factor` is `recode_factor(...)`.
Warning in recode.numeric(.x, !!!values, .default = .default, .missing
= .missing): NAs introduced by coercion
Frequencies  
mhd.raw.id$comorbidity_total_count_factor  
Type: Factor  

                             Freq   % Valid   % Total
-------------------------- ------ --------- ---------
            No comorbidity   1872     37.25     19.61
        1 comorbid disoder   1849     36.79     19.37
       2 comorbid disoders    713     14.19      7.47
      3+ comorbid disoders    592     11.78      6.20
                      <NA>   4521               47.36
                     Total   9547    100.00    100.00

Inspection

Create new dataframe with the derived categories

Prepandemic

GAD (prepan)

Calculate sum score for GAD-7 Max should be 21.

*Note that scores with missingness will be changed to NA later in the script

missingness (NAs per person)

prepandemic

PCL (prepan)

Calculate sum score for PCL-6

*Note that scores with missingness will be changed to NA later in the script

Missigness

prepandemic

PHQ (prepan)

Calculate sum score for PHQ-9

*Note that scores with missingness will be changed to NA later in the script

PHQ missingness (NAs per person)

prepandemic

all times

+++CH: THINK ABOUT THIS!!!

8 items

OCIR (prepan)

Calculate sum score for OCI-R

*Note that scores with missingness will be changed to NA later in the script

prepandemic

COPING GAD-7

GLAD

EDGI

NBR

RAMP

 [1] "externalDataReference"                         
 [2] "startDate"                                     
 [3] "endDate"                                       
 [4] "Login ID"                                      
 [5] "gad.feeling_nervous_anxious_or_on_edge"        
 [6] "gad.control_worrying_stop"                     
 [7] "gad.worrying_too_much_about_different_things"  
 [8] "gad.trouble_relaxing"                          
 [9] "gad.sit_hard_restless"                         
[10] "gad.becoming_easily_annoyed_or_irritable"      
[11] "gad.awful_feeling_afraid_happen"               
[12] "gad.feelings_pandemic_felt"                    
[13] "gad.feeling_nervous_anxious_or_on_edge.1"      
[14] "gad.control_worrying_stop.1"                   
[15] "gad.worrying_too_much_about_different_things.1"
[16] "gad.trouble_relaxing.1"                        
[17] "gad.sit_hard_restless.1"                       
[18] "gad.becoming_easily_annoyed_or_irritable.1"    
[19] "gad.awful_feeling_afraid_happen.1"             
[20] "gad.issues_made_carrying_daily"                
[1] 34

Sum scores

Calculate sum score for GAD-7 retrospective

Warning in scoreItems(keys = gad.items_key_retro, items =
coping.gad.raw.id[gad.items_retro], : Specifying totals = TRUE without
imputation can lead to serious problems. Are you sure?
Warning: `funs()` is deprecated as of dplyr 0.8.0.
Please use a list of either functions or lambdas: 

  # Simple named list: 
  list(mean = mean, median = median)

  # Auto named with `tibble::lst()`: 
  tibble::lst(mean, median)

  # Using lambdas
  list(~ mean(., trim = .2), ~ median(., na.rm = TRUE))
This warning is displayed once every 8 hours.
Call `lifecycle::last_warnings()` to see where this warning was generated.
Descriptive Statistics  
coping.gad.raw.id$gad.sum_score_retro_raw  
N: 9580  

                  gad.sum_score_retro_raw
--------------- -------------------------
           Mean                      3.64
        Std.Dev                      4.44
            Min                      0.00
         Median                      2.00
            Max                     21.00
        N.Valid                   9580.00
      Pct.Valid                    100.00

Calculate sum score for GAD-7 baseline

Warning in scoreItems(keys = gad.items_key_base, items =
coping.gad.raw.id[gad.items_base], : Specifying totals = TRUE without imputation
can lead to serious problems. Are you sure?
Descriptive Statistics  
coping.gad.raw.id$gad.sum_score_base_raw  
N: 9580  

                  gad.sum_score_base_raw
--------------- ------------------------
           Mean                     7.48
        Std.Dev                     6.26
            Min                     0.00
         Median                     6.00
            Max                    21.00
        N.Valid                  9580.00
      Pct.Valid                   100.00

Missingness

baseline

Frequencies  
coping.gad.raw.id$na_per_person_gad_base  
Type: Numeric  

              Freq   % Valid   % Total
----------- ------ --------- ---------
          0   8742     91.25     91.25
          1      7      0.07      0.07
          3      2      0.02      0.02
          4      2      0.02      0.02
          6      1      0.01      0.01
          7    826      8.62      8.62
       <NA>      0                0.00
      Total   9580    100.00    100.00
Frequencies  
coping.gad.raw.id$na_per_person_gad_retro  
Type: Numeric  

              Freq   % Valid   % Total
----------- ------ --------- ---------
          0   6535     68.22     68.22
          1      4      0.04      0.04
          3      1      0.01      0.01
          6      1      0.01      0.01
          7   3039     31.72     31.72
       <NA>      0                0.00
      Total   9580    100.00    100.00
Descriptive Statistics  
coping.gad.raw.id$gad.sum_score_base_raw  
N: 9580  

                  gad.sum_score_base_raw
--------------- ------------------------
           Mean                     7.48
        Std.Dev                     6.26
            Min                     0.00
         Median                     6.00
            Max                    21.00
        N.Valid                  9580.00
      Pct.Valid                   100.00
Descriptive Statistics  
coping.gad.raw.id$gad.sum_score_base  
N: 9580  

                  gad.sum_score_base
--------------- --------------------
           Mean                 8.18
        Std.Dev                 6.09
            Min                 0.00
         Median                 7.00
            Max                21.00
        N.Valid              8742.00
      Pct.Valid                91.25
Descriptive Statistics  
coping.gad.raw.id$gad.sum_score_retro_raw  
N: 9580  

                  gad.sum_score_retro_raw
--------------- -------------------------
           Mean                      3.64
        Std.Dev                      4.44
            Min                      0.00
         Median                      2.00
            Max                     21.00
        N.Valid                   9580.00
      Pct.Valid                    100.00
Descriptive Statistics  
coping.gad.raw.id$gad.sum_score_retro  
N: 9580  

                  gad.sum_score_retro
--------------- ---------------------
           Mean                  5.34
        Std.Dev                  4.46
            Min                  0.00
         Median                  4.00
            Max                 21.00
        N.Valid               6535.00
      Pct.Valid                 68.22

Inspection

COPING: PCL-6

GLAD

Note: Retro for the PCL does not mean retrospective

EDGI

Note: Retro for the PCL does not mean retrospective

NBR

Note: Retro for the PCL does not mean retrospective

RAMP

 [1] "externalDataReference"                            
 [2] "startDate"                                        
 [3] "endDate"                                          
 [4] "Login ID"                                         
 [5] "pcl.stressful_experience_repeated_images"         
 [6] "pcl.stressful_experience_reminded_upset"          
 [7] "pcl.stressful_experience_avoiding_activities"     
 [8] "pcl.feeling_distant_cut_people"                   
 [9] "pcl.feeling_irritable_or_having_angry_outbursts"  
[10] "pcl.difficulty_concentrating"                     
[11] "pcl.stressful_experience_repeated_images.1"       
[12] "pcl.stressful_experience_reminded_upset.1"        
[13] "pcl.stressful_experience_avoiding_activities.1"   
[14] "pcl.feeling_distant_cut_people.1"                 
[15] "pcl.feeling_irritable_or_having_angry_outbursts.1"
[16] "pcl.difficulty_concentrating.1"                   

Note: Retro for the PCL does not mean retrospective

[1] 34

Recode RAMP PCL retro scores

 [1] "Sample"                                                       
 [2] "ID"                                                           
 [3] "pcl.stressful_experience_repeated_images_base"                
 [4] "pcl.stressful_experience_upset_reminded_base"                 
 [5] "pcl.stressful_situation_avoiding_activities_base"             
 [6] "pcl.cut_people_feeling_distant_base"                          
 [7] "pcl.feeling_irritable_or_having_angry_outbursts_base"         
 [8] "pcl.difficulty_concentrating_base"                            
 [9] "pcl.stressful_experience_repeated_images_base_numeric"        
[10] "pcl.stressful_experience_upset_reminded_base_numeric"         
[11] "pcl.stressful_situation_avoiding_activities_base_numeric"     
[12] "pcl.cut_people_feeling_distant_base_numeric"                  
[13] "pcl.feeling_irritable_or_having_angry_outbursts_base_numeric" 
[14] "pcl.difficulty_concentrating_base_numeric"                    
[15] "pcl.stressful_experience_repeated_images_retro_numeric"       
[16] "pcl.stressful_experience_upset_reminded_retro_numeric"        
[17] "pcl.stressful_situation_avoiding_activities_retro_numeric"    
[18] "pcl.cut_people_feeling_distant_retro_numeric"                 
[19] "pcl.feeling_irritable_or_having_angry_outbursts_retro_numeric"
[20] "pcl.difficulty_concentrating_retro_numeric"                   
[21] "pcl.stressful_experience_repeated_images_retro"               
[22] "pcl.stressful_experience_upset_reminded_retro"                
[23] "pcl.stressful_situation_avoiding_activities_retro"            
[24] "pcl.cut_people_feeling_distant_retro"                         
[25] "pcl.feeling_irritable_or_having_angry_outbursts_retro"        
[26] "pcl.difficulty_concentrating_retro"                           

Sum scores

Calculate sum score for PCL-6 retro

Warning in scoreItems(keys = pcl.items_key_retro, items =
coping.pcl.raw.id[pcl.items_retro], : Specifying totals = TRUE without
imputation can lead to serious problems. Are you sure?
Descriptive Statistics  
coping.pcl.raw.id$pcl.sum_score_retro_raw  
N: 9580  

                  pcl.sum_score_retro_raw
--------------- -------------------------
           Mean                      1.65
        Std.Dev                      1.58
            Min                      0.00
         Median                      1.00
            Max                      6.00
        N.Valid                   9580.00
      Pct.Valid                    100.00

Calculate sum score for PCL-6 base The sum scores here will not be accurate if we are using complete cases. Only use sum scores here for complete cases, otherwise the minimum will be 0 where it should be 6.

Warning in scoreItems(keys = pcl.items_key_base, items =
coping.pcl.raw.id[pcl.items_base], : Specifying totals = TRUE without imputation
can lead to serious problems. Are you sure?
Descriptive Statistics  
coping.pcl.raw.id$pcl.sum_score_base_raw  
N: 9580  

                  pcl.sum_score_base_raw
--------------- ------------------------
           Mean                    12.00
        Std.Dev                     6.79
            Min                     0.00
         Median                    12.00
            Max                    30.00
        N.Valid                  9580.00
      Pct.Valid                   100.00

Missingness

PCL missingness (NAs per person)

baseline

Frequencies  
coping.pcl.raw.id$na_per_person_pcl_base  
Type: Numeric  

              Freq   % Valid   % Total
----------- ------ --------- ---------
          0   8342     87.08     87.08
          1     39      0.41      0.41
          2     10      0.10      0.10
          3     25      0.26      0.26
          4     23      0.24      0.24
          5     21      0.22      0.22
          6   1120     11.69     11.69
       <NA>      0                0.00
      Total   9580    100.00    100.00

retrospective

Frequencies  
coping.pcl.raw.id$na_per_person_pcl_retro  
Type: Numeric  

              Freq   % Valid   % Total
----------- ------ --------- ---------
          0   3800     39.67     39.67
          1   1182     12.34     12.34
          2    810      8.46      8.46
          3   1105     11.53     11.53
          4    664      6.93      6.93
          5    443      4.62      4.62
          6   1576     16.45     16.45
       <NA>      0                0.00
      Total   9580    100.00    100.00
Descriptive Statistics  
coping.pcl.raw.id$pcl.sum_score_base_raw  
N: 9580  

                  pcl.sum_score_base_raw
--------------- ------------------------
           Mean                    12.00
        Std.Dev                     6.79
            Min                     0.00
         Median                    12.00
            Max                    30.00
        N.Valid                  9580.00
      Pct.Valid                   100.00
Descriptive Statistics  
coping.pcl.raw.id$pcl.sum_score_base  
N: 9580  

                  pcl.sum_score_base
--------------- --------------------
           Mean                13.64
        Std.Dev                 5.51
            Min                 6.00
         Median                13.00
            Max                30.00
        N.Valid              8342.00
      Pct.Valid                87.08
Descriptive Statistics  
coping.pcl.raw.id$pcl.sum_score_retro_raw  
N: 9580  

                  pcl.sum_score_retro_raw
--------------- -------------------------
           Mean                      1.65
        Std.Dev                      1.58
            Min                      0.00
         Median                      1.00
            Max                      6.00
        N.Valid                   9580.00
      Pct.Valid                    100.00
Descriptive Statistics  
coping.pcl.raw.id$pcl.sum_score_retro  
N: 9580  

                  pcl.sum_score_retro
--------------- ---------------------
           Mean                  1.93
        Std.Dev                  1.76
            Min                  0.00
         Median                  2.00
            Max                  6.00
        N.Valid               3800.00
      Pct.Valid                 39.67

Inspection

COPING: PHQ

GLAD

Will need to double check these namings once we have the new cleaned data – KT.

EDGI

NBR

Will need to double check these namings once we have the new cleaned data – KT.

RAMP

 [1] "externalDataReference"                            
 [2] "startDate"                                        
 [3] "endDate"                                          
 [4] "Login ID"                                         
 [5] "phq.little_interest_or_pleasure_in_doing_things"  
 [6] "phq.feeling_down_depressed_or_hopeless"           
 [7] "phq.staying_asleep_sleeping_trouble"              
 [8] "phq.feeling_tired_or_having_little_energy"        
 [9] "phq.poor_appetite_or_overeating"                  
[10] "phq.failure_family_feeling_bad"                   
[11] "phq.trouble_concentrating_newspaper_reading"      
[12] "phq.moving_fidgety_opposite_slowly"               
[13] "phq.dead_hurting_thoughts"                        
[14] "phq.issues_made_carrying_daily"                   
[15] "phq.feelings_pandemic_felt"                       
[16] "phq.little_interest_or_pleasure_in_doing_things.1"
[17] "phq.feeling_down_depression_or_hopeless"          
[18] "phq.staying_asleep_sleeping_trouble.1"            
[19] "phq.feeling_tired_or_having_little_energy.1"      
[20] "phq.poor_appetite_or_overeating.1"                
[21] "phq.failure_family_feeling_bad.1"                 
[22] "phq.trouble_concentrating_newspaper_reading.1"    
[23] "phq.moving_fidgety_opposite_slowly.1"             
[24] "phq.dead_hurting_thoughts.1"                      

Will need to double check these namings once we have the new cleaned data – KT.

[1] 34

Sum scores

Calculate sum score for PHQ-9 retro

Warning in scoreItems(keys = phq.items_key_retro, items =
coping.phq.raw.id[phq.items_retro], : Specifying totals = TRUE without
imputation can lead to serious problems. Are you sure?
Descriptive Statistics  
coping.phq.raw.id$phq.sum_score_retro_raw  
N: 9547  

                  phq.sum_score_retro_raw
--------------- -------------------------
           Mean                      4.47
        Std.Dev                      5.41
            Min                      0.00
         Median                      3.00
            Max                     27.00
        N.Valid                   9547.00
      Pct.Valid                    100.00

Calculate sum score for PHQ-9 base

Warning in scoreItems(keys = phq.items_key_base, items =
coping.phq.raw.id[phq.items_base], : Specifying totals = TRUE without imputation
can lead to serious problems. Are you sure?
Descriptive Statistics  
coping.phq.raw.id$phq.sum_score_base_raw  
N: 9547  

                  phq.sum_score_base_raw
--------------- ------------------------
           Mean                     9.30
        Std.Dev                     7.28
            Min                     0.00
         Median                     8.00
            Max                    27.00
        N.Valid                  9547.00
      Pct.Valid                   100.00

Missingness

retrospective

Frequencies  
coping.phq.raw.id$na_per_person_phq_retro  
Type: Numeric  

              Freq   % Valid   % Total
----------- ------ --------- ---------
          0   6703     70.21     70.21
          1     16      0.17      0.17
          2      1      0.01      0.01
          5      2      0.02      0.02
          7      2      0.02      0.02
          8      1      0.01      0.01
          9   2822     29.56     29.56
       <NA>      0                0.00
      Total   9547    100.00    100.00
Frequencies  
coping.phq.raw.id$phq.missing_only_suicide_item_retro  
Type: Numeric  

              Freq   % Valid   % Total
----------- ------ --------- ---------
          0   9542     99.95     99.95
          1      5      0.05      0.05
       <NA>      0                0.00
      Total   9547    100.00    100.00

baseline

Frequencies  
coping.phq.raw.id$na_per_person_phq_base  
Type: Numeric  

              Freq   % Valid   % Total
----------- ------ --------- ---------
          0   8703     91.16     91.16
          1     16      0.17      0.17
          2      3      0.03      0.03
          5      1      0.01      0.01
          6      2      0.02      0.02
          8      1      0.01      0.01
          9    821      8.60      8.60
       <NA>      0                0.00
      Total   9547    100.00    100.00

We need to identify those who have all items APART from the suicide ideation item - to still include these individuals.

Frequencies  
coping.phq.raw.id$phq.missing_only_suicide_item_base  
Type: Numeric  

              Freq   % Valid   % Total
----------- ------ --------- ---------
          0   9539     99.92     99.92
          1      8      0.08      0.08
       <NA>      0                0.00
      Total   9547    100.00    100.00
Descriptive Statistics  
coping.phq.raw.id$phq.sum_score_base_raw  
N: 9547  

                  phq.sum_score_base_raw
--------------- ------------------------
           Mean                     9.30
        Std.Dev                     7.28
            Min                     0.00
         Median                     8.00
            Max                    27.00
        N.Valid                  9547.00
      Pct.Valid                   100.00
Descriptive Statistics  
coping.phq.raw.id$phq.sum_score_base  
N: 9547  

                  phq.sum_score_base
--------------- --------------------
           Mean                10.17
        Std.Dev                 7.00
            Min                 0.00
         Median                 9.00
            Max                27.00
        N.Valid              8703.00
      Pct.Valid                91.16

8 items

Descriptive Statistics  
coping.phq.raw.id$phq.sum_score_8items_base  
N: 9547  

                  phq.sum_score_8items_base
--------------- ---------------------------
           Mean                        9.30
        Std.Dev                        7.28
            Min                        0.00
         Median                        8.00
            Max                       27.00
        N.Valid                     9547.00
      Pct.Valid                      100.00
Descriptive Statistics  
coping.phq.raw.id$phq.sum_score_retro_raw  
N: 9547  

                  phq.sum_score_retro_raw
--------------- -------------------------
           Mean                      4.47
        Std.Dev                      5.41
            Min                      0.00
         Median                      3.00
            Max                     27.00
        N.Valid                   9547.00
      Pct.Valid                    100.00
Descriptive Statistics  
coping.phq.raw.id$phq.sum_score_retro  
N: 9547  

                  phq.sum_score_retro
--------------- ---------------------
           Mean                  6.34
        Std.Dev                  5.44
            Min                  0.00
         Median                  5.00
            Max                 27.00
        N.Valid               6703.00
      Pct.Valid                 70.21

8 items

Descriptive Statistics  
coping.phq.raw.id$phq.sum_score_8items_retro  
N: 9547  

                  phq.sum_score_8items_retro
--------------- ----------------------------
           Mean                         4.47
        Std.Dev                         5.41
            Min                         0.00
         Median                         3.00
            Max                        27.00
        N.Valid                      9547.00
      Pct.Valid                       100.00

Inspection

COPING: OCI-R

GLAD

*Note that the COPING GLAD OCI-R ID numbers are stored under recipientFirstName (rather than ExternalDataReference)

EDGI

*Note that the COPING EDGI OCI-R ID numbers are stored under recipientFirstName (rather than ExternalDataReference)

NBR

*Note that the COPING NBR OCI-R ID numbers are stored under recipientFirstName (rather than ExternalDataReference)

++MD: One NBR ID is being converted to NA by the as.numeric(ID) line of code.

RAMP

 [1] "externalDataReference"                               
 [2] "startDate"                                           
 [3] "endDate"                                             
 [4] "Login ID"                                            
 [5] "ocir.saved_things"                                   
 [6] "ocir.i_check_things_more_often_than_necessary."      
 [7] "ocir.arranged_properly_objects_upset"                
 [8] "ocir.feel_compelled_count_things"                    
 [9] "ocir.touch_touched_strangers_object"                 
[10] "ocir.find_control_difficult_thoughts"                
[11] "ocir.i_collect_things_i_dont_need."                  
[12] "ocir.i_repeatedly_check_doors_windows_drawers_etc."  
[13] "ocir.arranged_things_change_upset"                   
[14] "ocir.feelings_pandemic_felt"                         
[15] "ocir.numbers_repeat_feel"                            
[16] "ocir.feel_contaminated_clean_simply"                 
[17] "ocir.unpleasant_thoughts_mind_upset"                 
[18] "ocir.afraid_avoid_throwing_things"                   
[19] "ocir.repeatedly_check_gas_water"                     
[20] "ocir.arranged_things"                                
[21] "ocir.bad_numbers_good_feel"                          
[22] "ocir.longer_hands_wash"                              
[23] "ocir.difficulty_rid_frequently_nasty"                
[24] "ocir.saved_things.1"                                 
[25] "ocir.i_check_things_more_often_than_necessary..1"    
[26] "ocir.arranged_properly_objects_upset.1"              
[27] "ocir.feel_compelled_count_things.1"                  
[28] "ocir.touch_touched_strangers_object.1"               
[29] "ocir.find_control_difficult_thoughts.1"              
[30] "ocir.i_collect_things_i_dont_need..1"                
[31] "ocir.i_repeatedly_check_doors_windows_drawers_etc..1"
[32] "ocir.arranged_things_change_upset.1"                 
[33] "ocir.numbers_repeat_feel.1"                          
[34] "ocir.feel_contaminated_clean_simply.1"               
[35] "ocir.unpleasant_thoughts_mind_upset.1"               
[36] "ocir.afraid_avoid_throwing_things.1"                 
[37] "ocir.repeatedly_check_gas_water.1"                   
[38] "ocir.arranged_things.1"                              
[39] "ocir.bad_numbers_good_feel.1"                        
[40] "ocir.longer_hands_wash.1"                            
[41] "ocir.difficulty_rid_frequently_nasty.1"              

*Note that the COPING RAMP OCI-R ID numbers are stored under recipientFirstName (rather than ExternalDataReference)

[1] 34

Sum scores

Calculate sum score for OCI-R retro

Warning in scoreItems(keys = ocir.items_key_retro, items =
coping.ocir.raw.id[ocir.items_retro], : Specifying totals = TRUE without
imputation can lead to serious problems. Are you sure?
Descriptive Statistics  
coping.ocir.raw.id$ocir.sum_score_retro_raw  
N: 9547  

                  ocir.sum_score_retro_raw
--------------- --------------------------
           Mean                       8.41
        Std.Dev                      15.08
            Min                       0.00
         Median                       0.00
            Max                      86.00
        N.Valid                    9547.00
      Pct.Valid                     100.00

Calculate sum score for OCI-R base

Warning in scoreItems(keys = ocir.items_key_base, items =
coping.ocir.raw.id[ocir.items_base], : Specifying totals = TRUE without
imputation can lead to serious problems. Are you sure?
Descriptive Statistics  
coping.ocir.raw.id$ocir.sum_score_base_raw  
N: 9547  

                  ocir.sum_score_base_raw
--------------- -------------------------
           Mean                     14.04
        Std.Dev                     19.78
            Min                      0.00
         Median                      0.00
            Max                     90.00
        N.Valid                   9547.00
      Pct.Valid                    100.00

Missingness

retrospective

Frequencies  
coping.ocir.raw.id$na_per_person_ocir_retro  
Type: Numeric  

              Freq   % Valid   % Total
----------- ------ --------- ---------
          0   2551     26.72     26.72
          1     13      0.14      0.14
          2      3      0.03      0.03
          3      1      0.01      0.01
          7      1      0.01      0.01
          9      5      0.05      0.05
         18   6973     73.04     73.04
       <NA>      0                0.00
      Total   9547    100.00    100.00

baseline

Frequencies  
coping.ocir.raw.id$na_per_person_ocir_base  
Type: Numeric  

              Freq   % Valid   % Total
----------- ------ --------- ---------
          0   3574     37.44     37.44
          1     30      0.31      0.31
          2      2      0.02      0.02
         12      1      0.01      0.01
         18   5940     62.22     62.22
       <NA>      0                0.00
      Total   9547    100.00    100.00
Descriptive Statistics  
coping.ocir.raw.id$ocir.sum_score_base_raw  
N: 9547  

                  ocir.sum_score_base_raw
--------------- -------------------------
           Mean                     14.04
        Std.Dev                     19.78
            Min                      0.00
         Median                      0.00
            Max                     90.00
        N.Valid                   9547.00
      Pct.Valid                    100.00
Descriptive Statistics  
coping.ocir.raw.id$ocir.sum_score_base  
N: 9547  

                  ocir.sum_score_base
--------------- ---------------------
           Mean                 37.13
        Std.Dev                 13.28
            Min                 18.00
         Median                 34.00
            Max                 90.00
        N.Valid               3574.00
      Pct.Valid                 37.44
Descriptive Statistics  
coping.ocir.raw.id$ocir.sum_score_retro_raw  
N: 9547  

                  ocir.sum_score_retro_raw
--------------- --------------------------
           Mean                       8.41
        Std.Dev                      15.08
            Min                       0.00
         Median                       0.00
            Max                      86.00
        N.Valid                    9547.00
      Pct.Valid                     100.00
Descriptive Statistics  
coping.ocir.raw.id$ocir.sum_score_retro  
N: 9547  

                  ocir.sum_score_retro
--------------- ----------------------
           Mean                  31.24
        Std.Dev                  11.51
            Min                  18.00
         Median                  28.00
            Max                  86.00
        N.Valid                2551.00
      Pct.Valid                  26.72

Inspection

Neurological symptoms

ALS (alsfrs)

GLAD

Read in data

Select variables

EDGI

Read in data

Select variables

NBR

Read in data

Select variables

RAMP

Read in data

 [1] "externalDataReference"                            
 [2] "startDate"                                        
 [3] "endDate"                                          
 [4] "Login ID"                                         
 [5] "alsfrs.limb_weakness_past_month"                  
 [6] "alsfrs.normal"                                    
 [7] "alsfrs.slow_or_sloppy_all_words_are_legible"      
 [8] "alsfrs.not_all_words_are_legible"                 
 [9] "alsfrs.able_to_grip_pen"                          
[10] "alsfrs.unable_to_grip_pen"                        
[11] "alsfrs.na"                                        
[12] "alsfrs.have_you_noticed_any_difficulty_walking"   
[13] "alsfrs.do_you_have_any_difficulty_climbing_stairs"

Select variables

[1] 34

Epsworth sleep scale (ess)

GLAD

Read in data

Select variables

EDGI

Read in data

Select variables

NBR

Read in data

Select variables

RAMP

Read in data

 [1] "externalDataReference"                            
 [2] "startDate"                                        
 [3] "endDate"                                          
 [4] "Login ID"                                         
 [5] "ess.felt_excessively_sleepy_day"                  
 [6] "ess.sitting_and_reading"                          
 [7] "ess.watching_tv"                                  
 [8] "ess.sitting_inactive_in_a_public_place"           
 [9] "ess.break_hour_passenger_car"                     
[10] "ess.afternoon_rest_circumstances_lying"           
[11] "ess.sitting_and_talking_to_someone"               
[12] "ess.sitting_quietly_after_a_lunch_without_alcohol"
[13] "ess.car_minutes_stopped_traffic"                  

Select variables

[1] 34

Migraines (midas)

GLAD

Read in data

Select variables

EDGI

Read in data

Select variables

NBR

Read in data

Select variables

RAMP

Read in data

 [1] "externalDataReference"               "startDate"                          
 [3] "endDate"                             "Login ID"                           
 [5] "midas.headaches_suffered_past_month" "midas.scale_line_click_firmly"      
 [7] "midas.scale_line_click_firmly.1"     "midas.scale_line_click_firmly.2"    
 [9] "midas.scale_line_click_firmly.3"     "midas.scale_line_click_firmly.4"    

Select variables

[1] 34

Loss of taste/smell (nmss)

GLAD

Read in data

Select variables

EDGI

Read in data

Select variables

NBR

Read in data

Select variables

RAMP

Read in data

[1] "externalDataReference"         "startDate"                    
[3] "endDate"                       "Login ID"                     
[5] "nmss.ability_taste_food_smell" "nmss.severe_taste_loss_smell" 

Select variables

[1] 34

Non-motor symptoms (nmsw)

GLAD

Read in data

Select variables

EDGI

Read in data

Select variables

NBR

Read in data

Select variables

RAMP

Read in data

 [1] "externalDataReference"                 
 [2] "startDate"                             
 [3] "endDate"                               
 [4] "Login ID"                              
 [5] "nmsw.drink_problems_choking_difficulty"
 [6] "nmsw.night_regularly_pass_urine"       
 [7] "nmsw.sex_finding_difficult"            
 [8] "nmsw.weak_standing_dizzy_feeling"      
 [9] "nmsw.acting_moving_sleep_talking"      
[10] "nmsw.double_vision"                    

Select variables

[1] 34

Tinnitus

GLAD

Read in data

Select variables

EDGI

Read in data

Select variables

NBR

Read in data

Select variables

RAMP

Read in data

[1] "externalDataReference"              "startDate"                         
[3] "endDate"                            "Login ID"                          
[5] "tinnitus.ears_noises_minutes_head"  "tinnitus.lasts_ears_noises_minutes"
[7] "tinnitus.noises_worry_worst_annoy" 

Select variables

[1] 34

Join tibbles together

edgi data frame list

glad data frame list

Removing all prepandemic dataframes from NBR/RAMP (prepandemic measures don’t exist for these cohorts)

Data summary
Name dat.raw
Number of rows 9547
Number of columns 370
_______________________
Column type frequency:
character 10
factor 161
numeric 198
POSIXct 1
________________________
Group variables None

Variable type: character

skim_variable n_missing complete_rate min max empty n_unique whitespace
Sample 0 1 4 4 0 1 0
ess.insomnia 9547 0 NA NA 0 0 0
ess.narcolepsy 9547 0 NA NA 0 0 0
ess.rem_sleep_behaviour_disorder 9547 0 NA NA 0 0 0
ess.restless_legs_syndrome 9547 0 NA NA 0 0 0
ess.sleep_apnea 9547 0 NA NA 0 0 0
ess.sleep_terrors 9547 0 NA NA 0 0 0
ess.sleepwalking 9547 0 NA NA 0 0 0
ess.other 9547 0 NA NA 0 0 0
ess.none 9547 0 NA NA 0 0 0

Variable type: factor

skim_variable n_missing complete_rate ordered n_unique top_counts
age_category 805 0.92 FALSE 13 56-: 2250, 46-: 1554, 26-: 1076, 36-: 881
Gender 841 0.91 FALSE 4 Fem: 6819, Mal: 1792, Non: 75, Pre: 20
Transgender_uncleaned 823 0.91 FALSE 2 No: 8594, Yes: 130
Ethnicity_unc 855 0.91 FALSE 6 Whi: 8258, Mix: 167, Asi: 158, Oth: 64
Ethnicity 855 0.91 FALSE 6 Eur: 8258, Mix: 167, Asi: 158, Oth: 64
employment.what_is_your_highest_level_of_education 818 0.91 FALSE 7 Bac: 2921, A-l: 1708, GCS: 1249, Mas: 1216
employment.government_work_key_workers 4446 0.53 FALSE 11 Non: 2319, Hea: 1048, Edu: 702, Oth: 293
employment.unemployed 844 0.91 FALSE 2 Not: 8195, Une: 508
employment.zerohours_contract 844 0.91 FALSE 2 Not: 8472, Zer: 231
employment.stayathome_parent_or_carer 844 0.91 FALSE 2 Not: 8433, Sta: 270
employment.retired 1270 0.87 FALSE 2 Not: 6159, Ret: 2118
employment.student_gcse_or_a_level 844 0.91 FALSE 2 Not: 8079, Stu: 624
employment.student_university 844 0.91 FALSE 2 Not: 8125, Stu: 578
employment.became_unemployed 3479 0.64 FALSE 2 Not: 5696, Bec: 372
employment.furloughed_or_paid_leave_government_funded 3479 0.64 FALSE 2 Not: 5436, Fur: 632
employment.furloughed_or_paid_leave_company_funded 3479 0.64 FALSE 2 Not: 5962, Fur: 106
employment.paid_leave_furloughed 3479 0.64 FALSE 2 Not: 5844, Fur: 224
highest_education 1107 0.88 FALSE 3 Uni: 5483, A-l: 1708, GCS: 1249
key_worker 862 0.91 FALSE 2 No : 5903, Key: 2782
anxiety_disorders 1786 0.81 FALSE 2 No : 4335, Anx: 3426
mhd.specific_phobia_e.g._phobia_of_flying 1786 0.81 FALSE 2 Not: 7477, Spe: 284
mhd.social_anxiety_or_social_phobia 1786 0.81 FALSE 2 Not: 6955, Soc: 806
agoraphobia_panic_disorder 1786 0.81 FALSE 2 No : 6165, Ago: 1596
depressive_disorders 1786 0.81 FALSE 2 Dep: 3936, No : 3825
eating_disorders 2288 0.76 FALSE 2 No : 6757, Eat: 502
obsessive_compulsive_disorders 1786 0.81 FALSE 2 No : 7138, Obs: 623
psychotic_disorders 2288 0.76 FALSE 2 No : 7093, Psy: 166
mhd.mania_hypomania_bipolar_or_manicdepression 1786 0.81 FALSE 2 Not: 7515, Man: 246
mhd.posttraumatic_stress_disorder_ptsd 1786 0.81 FALSE 2 Not: 7051, Pos: 710
autism_spectrum_disorder 2288 0.76 FALSE 2 No : 7058, Aut: 201
mhd.attention_deficit_hyperactivity_disorder 2288 0.76 FALSE 2 Not: 7140, Att: 119
mhd.personality_disorder 2288 0.76 FALSE 2 Not: 6961, Per: 298
personality_cluster_a 2312 0.76 FALSE 2 No : 7224, Per: 11
personality_cluster_b 2312 0.76 FALSE 2 No : 6988, Per: 247
personality_cluster_c 2312 0.76 FALSE 2 No : 7219, Per: 16
depression_and_anxiety 1786 0.81 FALSE 4 No : 3011, Dep: 2612, Onl: 1324, Onl: 814
restricting_vs_binge_eating_eating_disorders 2288 0.76 FALSE 3 No : 6757, Ano: 298, Eat: 204
bipolar_and_schizophrenia 2295 0.76 FALSE 4 No : 6939, Onl: 147, Onl: 86, Psy: 80
control 1822 0.81 FALSE 2 No : 5128, Con: 2597
comorbidity_total_count_factor 5062 0.47 FALSE 4 No : 1652, 1 c: 1643, 2 c: 638, 3+ : 552
mhd.none_of_the_above 1786 0.81 FALSE 2 Not: 5043, Non: 2718
mhd.none_of_the_above.1 2288 0.76 FALSE 2 Non: 6010, Not: 1249
gad.problems_made_difficult_care 1567 0.84 FALSE 4 Som: 4091, Not: 2543, Ver: 894, Ext: 452
gad.pandemic_felt_feelings 858 0.91 FALSE 5 A l: 3596, Muc: 2360, No : 2166, A l: 364
gad.feeling_nervous_anxious_or_on_edge_retro 3032 0.68 FALSE 4 Sev: 3320, Not: 2069, Mor: 755, Nea: 371
gad.control_worrying_stop_retro 3034 0.68 FALSE 4 Sev: 2741, Not: 2722, Mor: 714, Nea: 336
gad.worrying_too_much_about_different_things_retro 3032 0.68 FALSE 4 Sev: 3329, Not: 1898, Mor: 872, Nea: 416
gad.trouble_relaxing_retro 3032 0.68 FALSE 4 Not: 2898, Sev: 2571, Mor: 684, Nea: 362
gad.sit_restless_hard_retro 3035 0.68 FALSE 4 Not: 4576, Sev: 1395, Mor: 373, Nea: 168
gad.becoming_easily_annoyed_or_irritable_retro 3032 0.68 FALSE 4 Sev: 3037, Not: 2326, Mor: 827, Nea: 325
gad.awful_feeling_afraid_happen_retro 3033 0.68 FALSE 4 Not: 3731, Sev: 1888, Mor: 601, Nea: 294
gad.feeling_nervous_anxious_or_on_edge_base 823 0.91 FALSE 4 Sev: 3203, Not: 2030, Nea: 1791, Mor: 1700
gad.control_worrying_stop_base 827 0.91 FALSE 4 Not: 3090, Sev: 2669, Nea: 1501, Mor: 1460
gad.worrying_too_much_about_different_things_base 825 0.91 FALSE 4 Sev: 3005, Not: 2456, Mor: 1639, Nea: 1622
gad.trouble_relaxing_base 826 0.91 FALSE 4 Sev: 2901, Not: 2514, Mor: 1728, Nea: 1578
gad.sit_restless_hard_base 827 0.91 FALSE 4 Not: 4915, Sev: 2204, Mor: 929, Nea: 672
gad.becoming_easily_annoyed_or_irritable_base 828 0.91 FALSE 4 Sev: 3142, Not: 2352, Mor: 1741, Nea: 1484
gad.awful_feeling_afraid_happen_base 825 0.91 FALSE 4 Not: 3202, Sev: 2606, Mor: 1478, Nea: 1436
pcl.stressful_experience_repeated_images_base 1167 0.88 FALSE 5 Not: 3707, A l: 2061, Qui: 1135, Mod: 995
pcl.stressful_experience_upset_reminded_base 1173 0.88 FALSE 5 Not: 3410, A l: 2301, Qui: 1076, Mod: 1061
pcl.stressful_situation_avoiding_activities_base 1216 0.87 FALSE 5 Not: 5792, A l: 1215, Mod: 577, Qui: 483
pcl.cut_people_feeling_distant_base 1154 0.88 FALSE 5 A l: 2252, Qui: 1855, Not: 1610, Mod: 1414
pcl.feeling_irritable_or_having_angry_outbursts_base 1155 0.88 FALSE 5 A l: 2934, Not: 2550, Mod: 1260, Qui: 1193
pcl.difficulty_concentrating_base 1157 0.88 FALSE 5 A l: 2490, Not: 2016, Qui: 1548, Mod: 1401
pcl.stressful_experience_repeated_images_retro 3934 0.59 FALSE 2 No: 4590, Yes: 1023
pcl.stressful_experience_upset_reminded_retro 3709 0.61 FALSE 2 No: 4696, Yes: 1142
pcl.stressful_situation_avoiding_activities_retro 5052 0.47 FALSE 2 No: 3840, Yes: 655
pcl.cut_people_feeling_distant_retro 2206 0.77 FALSE 2 Yes: 5318, No: 2023
pcl.feeling_irritable_or_having_angry_outbursts_retro 2890 0.70 FALSE 2 Yes: 3696, No: 2961
pcl.difficulty_concentrating_retro 2576 0.73 FALSE 2 Yes: 3932, No: 3039
phq.problems_made_difficult_care 1243 0.87 FALSE 4 Som: 4136, Not: 2673, Ver: 1038, Ext: 457
phq.pandemic_felt_feelings 887 0.91 FALSE 5 A l: 3785, Muc: 2290, No : 1927, A l: 417
phq.little_interest_or_pleasure_in_doing_things_retro 2826 0.70 FALSE 4 Not: 3295, Sev: 2664, Mor: 508, Nea: 254
phq.feeling_down_depressed_or_hopeless_retro 2824 0.70 FALSE 4 Sev: 3105, Not: 2679, Mor: 601, Nea: 338
phq.staying_asleep_sleeping_trouble_retro 2826 0.70 FALSE 4 Sev: 2893, Not: 2235, Mor: 921, Nea: 672
phq.feeling_tired_or_having_little_energy_retro 2827 0.70 FALSE 4 Sev: 3495, Not: 1561, Mor: 1013, Nea: 651
phq.poor_appetite_or_overeating_retro 2827 0.70 FALSE 4 Not: 3304, Sev: 2180, Mor: 769, Nea: 467
phq.feeling_bad_failure_family_retro 2827 0.70 FALSE 4 Not: 3315, Sev: 2236, Mor: 755, Nea: 414
phq.trouble_concentrating_reading_newspaper_retro 2829 0.70 FALSE 4 Not: 3702, Sev: 2073, Mor: 625, Nea: 318
phq.moving_fidgety_noticed_opposite_retro 2830 0.70 FALSE 4 Not: 5310, Sev: 979, Mor: 306, Nea: 122
phq.dead_hurting_thoughts_retro 2832 0.70 FALSE 4 Not: 5154, Sev: 1020, Mor: 342, Nea: 199
phq.little_interest_or_pleasure_in_doing_things_base 823 0.91 FALSE 4 Sev: 3393, Not: 2175, Nea: 1591, Mor: 1565
phq.feeling_down_depressed_or_hopeless_base 826 0.91 FALSE 4 Sev: 3334, Not: 2602, Mor: 1411, Nea: 1374
phq.staying_asleep_sleeping_trouble_base 824 0.91 FALSE 4 Nea: 2691, Sev: 2415, Not: 1840, Mor: 1777
phq.feeling_tired_or_having_little_energy_base 825 0.91 FALSE 4 Sev: 3110, Nea: 2346, Mor: 1968, Not: 1298
phq.poor_appetite_or_overeating_base 825 0.91 FALSE 4 Not: 2856, Sev: 2158, Nea: 1976, Mor: 1732
phq.feeling_bad_failure_family_base 826 0.91 FALSE 4 Not: 3824, Sev: 2281, Nea: 1340, Mor: 1276
phq.trouble_concentrating_reading_newspaper_base 824 0.91 FALSE 4 Not: 2962, Sev: 2660, Mor: 1683, Nea: 1418
phq.moving_fidgety_noticed_opposite_base 829 0.91 FALSE 4 Not: 5944, Sev: 1534, Mor: 829, Nea: 411
phq.dead_hurting_thoughts_base 834 0.91 FALSE 4 Not: 6391, Sev: 1222, Mor: 558, Nea: 542
ocir.felt_pandemic_feelings 5941 0.38 FALSE 5 A l: 1746, No : 1029, Muc: 761, A l: 56
ocir.saved_things_retro 6979 0.27 FALSE 5 Not: 1502, A l: 615, Mod: 230, A l: 171
ocir.i_check_things_more_often_than_necessary_retro 6975 0.27 FALSE 5 Not: 1356, A l: 803, Mod: 241, A l: 133
ocir.arranged_properly_objects_upset_retro 6975 0.27 FALSE 5 Not: 1228, A l: 819, Mod: 271, A l: 168
ocir.feel_compelled_count_things_retro 6975 0.27 FALSE 5 Not: 1949, A l: 348, Mod: 126, A l: 96
ocir.strangers_touch_touched_difficult_retro 6975 0.27 FALSE 5 Not: 1662, A l: 556, Mod: 190, A l: 100
ocir.control_difficult_find_thoughts_retro 6975 0.27 FALSE 5 A l: 943, Not: 658, Mod: 449, A l: 321
ocir.i_collect_things_i_dont_need_retro 6976 0.27 FALSE 5 Not: 1482, A l: 631, Mod: 225, A l: 153
ocir.i_repeatedly_check_doors_windows_drawers_etc_retro 6979 0.27 FALSE 5 Not: 1715, A l: 522, Mod: 174, A l: 121
ocir.arranged_things_change_upset_retro 6980 0.27 FALSE 5 Not: 1117, A l: 828, Mod: 294, A l: 184
ocir.repeat_feel_numbers_retro 6978 0.27 FALSE 5 Not: 2209, A l: 203, Mod: 74, A l: 53
ocir.clean_simply_wash_feel_retro 6977 0.27 FALSE 5 Not: 1684, A l: 595, Mod: 173, A l: 75
ocir.mind_upset_unpleasant_thoughts_retro 6977 0.27 FALSE 5 A l: 958, Not: 723, Mod: 444, A l: 287
ocir.afraid_avoid_throwing_things_retro 6977 0.27 FALSE 5 Not: 1239, A l: 786, Mod: 279, A l: 189
ocir.light_switches_water_taps_retro 6978 0.27 FALSE 5 Not: 1859, A l: 457, Mod: 136, A l: 92
ocir.arranged_things_retro 6977 0.27 FALSE 5 Not: 1241, A l: 790, Mod: 273, A l: 168
ocir.good_feel_bad_numbers_retro 6978 0.27 FALSE 5 Not: 1963, A l: 323, Mod: 124, A l: 80
ocir.hands_longer_wash_retro 6977 0.27 FALSE 5 Not: 1853, A l: 440, Mod: 147, A l: 88
ocir.frequently_difficulty_rid_nasty_retro 6980 0.27 FALSE 5 Not: 915, A l: 847, Mod: 379, A l: 247
ocir.saved_things_base 5957 0.38 FALSE 5 Not: 1694, A l: 833, Mod: 546, A l: 368
ocir.i_check_things_more_often_than_necessary_base 5941 0.38 FALSE 5 A l: 1083, Not: 1080, Mod: 685, A l: 552
ocir.arranged_properly_objects_upset_base 5941 0.38 FALSE 5 Not: 1543, A l: 952, Mod: 564, A l: 370
ocir.feel_compelled_count_things_base 5944 0.38 FALSE 5 Not: 2366, A l: 566, Mod: 279, A l: 247
ocir.strangers_touch_touched_difficult_base 5941 0.38 FALSE 5 Not: 1084, A l: 952, Mod: 563, A l: 563
ocir.control_difficult_find_thoughts_base 5941 0.38 FALSE 5 A l: 1013, Mod: 731, A l: 728, Ext: 573
ocir.i_collect_things_i_dont_need_base 5943 0.38 FALSE 5 Not: 1997, A l: 840, Mod: 351, A l: 250
ocir.i_repeatedly_check_doors_windows_drawers_etc_base 5942 0.38 FALSE 5 Not: 2244, A l: 688, Mod: 302, A l: 249
ocir.arranged_things_change_upset_base 5946 0.38 FALSE 5 Not: 1347, A l: 1083, Mod: 479, A l: 379
ocir.repeat_feel_numbers_base 5942 0.38 FALSE 5 Not: 2946, A l: 308, Mod: 152, A l: 124
ocir.clean_simply_wash_feel_base 5941 0.38 FALSE 5 Not: 1331, A l: 1136, Mod: 586, A l: 367
ocir.mind_upset_unpleasant_thoughts_base 5942 0.38 FALSE 5 A l: 1156, Mod: 695, Not: 684, A l: 603
ocir.afraid_avoid_throwing_things_base 5940 0.38 FALSE 5 Not: 1585, A l: 980, Mod: 443, A l: 401
ocir.light_switches_water_taps_base 5941 0.38 FALSE 5 Not: 2542, A l: 586, Mod: 229, A l: 167
ocir.arranged_things_base 5940 0.38 FALSE 5 Not: 1642, A l: 1026, Mod: 420, A l: 327
ocir.good_feel_bad_numbers_base 5941 0.38 FALSE 5 Not: 2650, A l: 398, Mod: 217, A l: 172
ocir.hands_longer_wash_base 5941 0.38 FALSE 5 Not: 1871, A l: 784, Mod: 404, A l: 304
ocir.frequently_difficulty_rid_nasty_base 5942 0.38 FALSE 5 Not: 1104, A l: 1045, Mod: 517, A l: 500
alsfrs.limb_weakness_noticed_past 1028 0.89 FALSE 2 No: 7149, Yes: 1370
alsfrs.normal 8176 0.14 FALSE 2 Nor: 967, Not: 404
alsfrs.slow_or_sloppy_all_words_are_legible 8176 0.14 FALSE 2 Not: 1168, Slo: 203
alsfrs.not_all_words_are_legible 8176 0.14 FALSE 2 Not: 1245, Not: 126
alsfrs.able_to_grip_pen 8176 0.14 FALSE 2 Not: 1318, Abl: 53
alsfrs.unable_to_grip_pen 8176 0.14 FALSE 2 Not: 1292, Una: 79
alsfrs.have_you_noticed_any_difficulty_walking 8177 0.14 FALSE 6 Nor: 780, Ear: 436, Nee: 138, Abl: 8
alsfrs.do_you_have_any_difficulty_climbing_stairs 8173 0.14 FALSE 5 Nor: 634, Slo: 311, Mil: 257, Nee: 114
ess.felt_excessively_sleepy_past 1035 0.89 FALSE 2 No: 4687, Yes: 3825
ess.sitting_and_reading 5739 0.40 FALSE 4 Sli: 1445, Mod: 1008, Wou: 793, Hig: 562
ess.watching_tv 5744 0.40 FALSE 4 Sli: 1404, Mod: 1107, Hig: 663, Wou: 629
ess.sitting_inactive_in_a_public_place 5750 0.40 FALSE 4 Wou: 2398, Sli: 930, Mod: 318, Hig: 151
ess.break_passenger_car_hour 5755 0.40 FALSE 4 Sli: 1312, Wou: 1157, Mod: 760, Hig: 563
ess.afternoon_rest_circumstances_lying 5737 0.40 FALSE 4 Hig: 1635, Mod: 1066, Sli: 814, Wou: 295
ess.sitting_and_talking_to_someone 5738 0.40 FALSE 4 Wou: 3269, Sli: 423, Mod: 86, Hig: 31
ess.sitting_quietly_after_a_lunch_without_alcohol 5744 0.40 FALSE 4 Wou: 1651, Sli: 1366, Mod: 526, Hig: 260
ess.car_minutes_stopped_traffic 5747 0.40 FALSE 4 Wou: 3334, Sli: 354, Mod: 69, Hig: 43
midas.headaches_suffered_past_month 1035 0.89 FALSE 2 No: 4329, Yes: 4183
midas.days_past_month_miss_work_school 9547 0.00 FALSE 0 Did: 0
midas.days_past_month_work_school_half_productivity 9547 0.00 FALSE 0 Was: 0
midas.days_past_month_miss_housework 9547 0.00 FALSE 0 Did: 0
midas.days_past_month_housework_half_productivity 9547 0.00 FALSE 0 Was: 0
midas.days_past_month_miss_social_activities 9547 0.00 FALSE 0 Did: 0
nmss.ability_taste_food_smell 1043 0.89 FALSE 2 No: 7902, Yes: 602
nmss.severe_taste_smell_loss 8945 0.06 FALSE 6 Mil: 179, Mod: 131, Min: 117, Sev: 79
nmsw.drink_problems_choking_difficulty 1057 0.89 FALSE 2 No: 7837, Yes: 653
nmsw.regularly_night_pass_urine 1058 0.89 FALSE 2 No: 5090, Yes: 3399
nmsw.sex_difficult_finding 1245 0.87 FALSE 2 No: 7350, Yes: 952
nmsw.weak_standing_feeling_light 1059 0.89 FALSE 2 No: 5408, Yes: 3080
nmsw.acting_moving_sleep_talking 1081 0.89 FALSE 2 No: 7014, Yes: 1452
nmsw.double_vision 1060 0.89 FALSE 2 No: 7960, Yes: 527
tinnitus.ears_noises_minutes_head 1052 0.89 FALSE 2 No: 6289, Yes: 2206
tinnitus.ears_noises_minutes_head_frequency 7341 0.23 FALSE 5 Som: 950, Now: 706, Now: 345, Not: 189
tinnitus.noises_worry_worst_upset 7341 0.23 FALSE 4 Sli: 1045, Mod: 586, Not: 470, Sev: 105

Variable type: numeric

skim_variable n_missing complete_rate mean sd p0 p25 p50 p75 p100 hist
ID 0 1.00 5.630956e+10 1.839951e+11 50 274012 553245 842773.5 999384675640 ▇▁▁▁▁
age_category_numeric 805 0.92 4.820000e+00 2.060000e+00 1 3 5 6.0 13 ▆▆▇▁▁
Gender_numeric 841 0.91 8.100000e-01 4.300000e-01 0 1 1 1.0 3 ▂▇▁▁▁
Transgender_uncleaned_numeric 823 0.91 1.000000e-02 1.200000e-01 0 0 0 0.0 1 ▇▁▁▁▁
Ethnicity_numeric 855 0.91 1.110000e+00 5.700000e-01 1 1 1 1.0 6 ▇▁▁▁▁
employment.what_is_your_highest_level_of_education_numeric 818 0.91 2.910000e+00 1.420000e+00 0 2 3 4.0 6 ▅▅▇▃▃
employment.government_work_key_workers_numeric 4446 0.53 1.960000e+00 3.050000e+00 0 0 1 2.0 11 ▇▁▁▁▁
employment.unemployed_numeric 844 0.91 6.000000e-02 2.300000e-01 0 0 0 0.0 1 ▇▁▁▁▁
employment.zerohours_contract_numeric 844 0.91 3.000000e-02 1.600000e-01 0 0 0 0.0 1 ▇▁▁▁▁
employment.stayathome_parent_or_carer_numeric 844 0.91 3.000000e-02 1.700000e-01 0 0 0 0.0 1 ▇▁▁▁▁
employment.retired_numeric 1270 0.87 2.600000e-01 4.400000e-01 0 0 0 1.0 1 ▇▁▁▁▃
employment.student_gcse_or_a_level_numeric 844 0.91 7.000000e-02 2.600000e-01 0 0 0 0.0 1 ▇▁▁▁▁
employment.student_university_numeric 844 0.91 7.000000e-02 2.500000e-01 0 0 0 0.0 1 ▇▁▁▁▁
employment.became_unemployed_numeric 3479 0.64 6.000000e-02 2.400000e-01 0 0 0 0.0 1 ▇▁▁▁▁
employment.furloughed_or_paid_leave_government_funded_numeric 3479 0.64 1.000000e-01 3.100000e-01 0 0 0 0.0 1 ▇▁▁▁▁
employment.furloughed_or_paid_leave_company_funded_numeric 3479 0.64 2.000000e-02 1.300000e-01 0 0 0 0.0 1 ▇▁▁▁▁
employment.paid_leave_furloughed_numeric 3479 0.64 4.000000e-02 1.900000e-01 0 0 0 0.0 1 ▇▁▁▁▁
highest_education_numeric 818 0.91 3.410000e+00 1.080000e+00 1 3 4 4.0 5 ▂▁▂▇▁
key_worker_numeric 862 0.91 3.200000e-01 4.700000e-01 0 0 0 1.0 1 ▇▁▁▁▃
anxiety_disorders_numeric 1786 0.81 4.400000e-01 5.000000e-01 0 0 0 1.0 1 ▇▁▁▁▆
mhd.specific_phobia_e.g._phobia_of_flying_numeric 1786 0.81 4.000000e-02 1.900000e-01 0 0 0 0.0 1 ▇▁▁▁▁
mhd.social_anxiety_or_social_phobia_numeric 1786 0.81 1.000000e-01 3.100000e-01 0 0 0 0.0 1 ▇▁▁▁▁
agoraphobia_panic_disorder_numeric 1786 0.81 2.100000e-01 4.000000e-01 0 0 0 0.0 1 ▇▁▁▁▂
depressive_disorders_numeric 1786 0.81 5.100000e-01 5.000000e-01 0 0 1 1.0 1 ▇▁▁▁▇
eating_disorders_numeric 2288 0.76 7.000000e-02 2.500000e-01 0 0 0 0.0 1 ▇▁▁▁▁
obsessive_compulsive_disorders_numeric 1786 0.81 8.000000e-02 2.700000e-01 0 0 0 0.0 1 ▇▁▁▁▁
psychotic_disorders_numeric 2288 0.76 2.000000e-02 1.500000e-01 0 0 0 0.0 1 ▇▁▁▁▁
mhd.mania_hypomania_bipolar_or_manicdepression_numeric 1786 0.81 3.000000e-02 1.800000e-01 0 0 0 0.0 1 ▇▁▁▁▁
mhd.posttraumatic_stress_disorder_ptsd_numeric 1786 0.81 9.000000e-02 2.900000e-01 0 0 0 0.0 1 ▇▁▁▁▁
autism_spectrum_disorder_numeric 2288 0.76 3.000000e-02 1.600000e-01 0 0 0 0.0 1 ▇▁▁▁▁
mhd.attention_deficit_hyperactivity_disorder_numeric 2288 0.76 2.000000e-02 1.300000e-01 0 0 0 0.0 1 ▇▁▁▁▁
mhd.personality_disorder_numeric 2288 0.76 4.000000e-02 2.000000e-01 0 0 0 0.0 1 ▇▁▁▁▁
personality_cluster_a_numeric 2312 0.76 0.000000e+00 4.000000e-02 0 0 0 0.0 1 ▇▁▁▁▁
personality_cluster_b_numeric 2312 0.76 3.000000e-02 1.800000e-01 0 0 0 0.0 1 ▇▁▁▁▁
personality_cluster_c_numeric 2312 0.76 0.000000e+00 5.000000e-02 0 0 0 0.0 1 ▇▁▁▁▁
depression_and_anxiety_numeric 1786 0.81 9.900000e-01 9.900000e-01 0 0 1 2.0 3 ▇▇▁▃▂
restricting_vs_binge_eating_eating_disorders_numeric 2288 0.76 1.000000e-01 3.800000e-01 0 0 0 0.0 2 ▇▁▁▁▁
bipolar_and_schizophrenia_numeric 2295 0.76 1.000000e-01 4.800000e-01 0 0 0 0.0 3 ▇▁▁▁▁
control_numeric 1822 0.81 3.400000e-01 4.700000e-01 0 0 0 1.0 1 ▇▁▁▁▅
disorders_total_count 2295 0.76 1.300000e+00 1.410000e+00 0 0 1 2.0 9 ▇▅▁▁▁
comorbidity_total_count_numeric 5062 0.47 1.110000e+00 1.230000e+00 0 0 1 2.0 8 ▇▂▁▁▁
comorbidity_total_count_factor_numeric 5062 0.47 1.020000e+00 1.000000e+00 0 0 1 2.0 3 ▇▇▁▃▃
gad.problems_made_difficult_care_numeric 1567 0.84 1.910000e+00 8.100000e-01 1 1 2 2.0 4 ▅▇▁▂▁
gad.pandemic_felt_feelings_numeric 858 0.91 2.130000e+00 9.400000e-01 1 1 2 3.0 5 ▅▇▅▁▁
gad.feeling_nervous_anxious_or_on_edge_retro_numeric 3032 0.68 9.100000e-01 8.100000e-01 0 0 1 1.0 3 ▅▇▁▂▁
gad.control_worrying_stop_retro_numeric 3034 0.68 7.900000e-01 8.300000e-01 0 0 1 1.0 3 ▇▇▁▂▁
gad.worrying_too_much_about_different_things_retro_numeric 3032 0.68 9.700000e-01 8.200000e-01 0 0 1 1.0 3 ▅▇▁▂▁
gad.trouble_relaxing_retro_numeric 3032 0.68 7.700000e-01 8.500000e-01 0 0 1 1.0 3 ▇▇▁▂▁
gad.sit_restless_hard_retro_numeric 3035 0.68 4.100000e-01 7.100000e-01 0 0 0 1.0 3 ▇▂▁▁▁
gad.becoming_easily_annoyed_or_irritable_retro_numeric 3032 0.68 8.700000e-01 8.200000e-01 0 0 1 1.0 3 ▆▇▁▂▁
gad.awful_feeling_afraid_happen_retro_numeric 3033 0.68 6.100000e-01 8.300000e-01 0 0 0 1.0 3 ▇▅▁▁▁
gad.feeling_nervous_anxious_or_on_edge_base_numeric 823 0.91 1.370000e+00 1.050000e+00 0 1 1 2.0 3 ▅▇▁▅▅
gad.control_worrying_stop_base_numeric 827 0.91 1.160000e+00 1.090000e+00 0 0 1 2.0 3 ▇▇▁▃▃
gad.worrying_too_much_about_different_things_base_numeric 825 0.91 1.280000e+00 1.070000e+00 0 0 1 2.0 3 ▆▇▁▅▅
gad.trouble_relaxing_base_numeric 826 0.91 1.270000e+00 1.070000e+00 0 0 1 2.0 3 ▇▇▁▅▅
gad.sit_restless_hard_base_numeric 827 0.91 7.000000e-01 9.400000e-01 0 0 0 1.0 3 ▇▃▁▂▁
gad.becoming_easily_annoyed_or_irritable_base_numeric 828 0.91 1.270000e+00 1.040000e+00 0 0 1 2.0 3 ▆▇▁▅▃
gad.awful_feeling_afraid_happen_base_numeric 825 0.91 1.130000e+00 1.090000e+00 0 0 1 2.0 3 ▇▆▁▃▃
gad.sum_score_retro_raw 0 1.00 3.640000e+00 4.440000e+00 0 0 2 6.0 21 ▇▂▁▁▁
gad.sum_score_base_raw 0 1.00 7.470000e+00 6.260000e+00 0 2 6 12.0 21 ▇▅▃▂▂
na_per_person_gad_base 0 1.00 6.100000e-01 1.970000e+00 0 0 0 0.0 7 ▇▁▁▁▁
na_per_person_gad_retro 0 1.00 2.220000e+00 3.260000e+00 0 0 0 7.0 7 ▇▁▁▁▃
gad.sum_score_base 834 0.91 8.180000e+00 6.090000e+00 0 3 7 13.0 21 ▇▆▃▃▃
gad.sum_score_retro 3037 0.68 5.340000e+00 4.460000e+00 0 2 4 7.0 21 ▇▅▂▁▁
pcl.stressful_experience_repeated_images_base_numeric 1167 0.88 2.120000e+00 1.270000e+00 1 1 2 3.0 5 ▇▅▂▂▁
pcl.stressful_experience_upset_reminded_base_numeric 1173 0.88 2.160000e+00 1.260000e+00 1 1 2 3.0 5 ▇▆▂▂▁
pcl.stressful_situation_avoiding_activities_base_numeric 1216 0.87 1.590000e+00 1.050000e+00 1 1 1 2.0 5 ▇▂▁▁▁
pcl.cut_people_feeling_distant_base_numeric 1154 0.88 2.870000e+00 1.360000e+00 1 2 3 4.0 5 ▆▇▅▆▅
pcl.feeling_irritable_or_having_angry_outbursts_base_numeric 1155 0.88 2.290000e+00 1.190000e+00 1 1 2 3.0 5 ▇▇▃▃▁
pcl.difficulty_concentrating_base_numeric 1157 0.88 2.630000e+00 1.320000e+00 1 2 2 4.0 5 ▆▇▅▅▃
pcl.stressful_experience_repeated_images_retro_numeric 3934 0.59 1.800000e-01 3.900000e-01 0 0 0 0.0 1 ▇▁▁▁▂
pcl.stressful_experience_upset_reminded_retro_numeric 3709 0.61 2.000000e-01 4.000000e-01 0 0 0 0.0 1 ▇▁▁▁▂
pcl.stressful_situation_avoiding_activities_retro_numeric 5052 0.47 1.500000e-01 3.500000e-01 0 0 0 0.0 1 ▇▁▁▁▂
pcl.cut_people_feeling_distant_retro_numeric 2206 0.77 7.200000e-01 4.500000e-01 0 0 1 1.0 1 ▃▁▁▁▇
pcl.feeling_irritable_or_having_angry_outbursts_retro_numeric 2890 0.70 5.600000e-01 5.000000e-01 0 0 1 1.0 1 ▆▁▁▁▇
pcl.difficulty_concentrating_retro_numeric 2576 0.73 5.600000e-01 5.000000e-01 0 0 1 1.0 1 ▆▁▁▁▇
pcl.sum_score_retro_raw 0 1.00 1.650000e+00 1.580000e+00 0 0 1 3.0 6 ▇▃▃▁▁
pcl.sum_score_base_raw 0 1.00 1.199000e+01 6.790000e+00 0 8 12 16.0 30 ▃▇▆▃▁
na_per_person_pcl_base 0 1.00 7.400000e-01 1.950000e+00 0 0 0 0.0 6 ▇▁▁▁▁
na_per_person_pcl_retro 0 1.00 2.130000e+00 2.270000e+00 0 0 1 4.0 6 ▇▁▂▁▃
pcl.sum_score_base 1233 0.87 1.364000e+01 5.510000e+00 6 9 13 17.0 30 ▇▇▅▂▁
pcl.sum_score_retro 5757 0.40 1.930000e+00 1.760000e+00 0 0 2 3.0 6 ▇▃▃▁▂
phq.problems_made_difficult_care_numeric 1243 0.87 1.910000e+00 8.100000e-01 1 1 2 2.0 4 ▅▇▁▂▁
phq.pandemic_felt_feelings_numeric 887 0.91 2.140000e+00 9.500000e-01 1 1 2 3.0 5 ▅▇▅▁▁
phq.little_interest_or_pleasure_in_doing_things_retro_numeric 2826 0.70 6.600000e-01 7.800000e-01 0 0 1 1.0 3 ▇▆▁▁▁
phq.feeling_down_depressed_or_hopeless_retro_numeric 2824 0.70 7.900000e-01 8.000000e-01 0 0 1 1.0 3 ▇▇▁▂▁
phq.staying_asleep_sleeping_trouble_retro_numeric 2826 0.70 1.000000e+00 9.300000e-01 0 0 1 1.0 3 ▆▇▁▂▂
phq.feeling_tired_or_having_little_energy_retro_numeric 2827 0.70 1.110000e+00 8.700000e-01 0 1 1 1.0 3 ▃▇▁▂▂
phq.poor_appetite_or_overeating_retro_numeric 2827 0.70 7.600000e-01 9.100000e-01 0 0 1 1.0 3 ▇▅▁▂▁
phq.feeling_bad_failure_family_retro_numeric 2827 0.70 7.400000e-01 8.900000e-01 0 0 1 1.0 3 ▇▆▁▂▁
phq.trouble_concentrating_reading_newspaper_retro_numeric 2829 0.70 6.400000e-01 8.400000e-01 0 0 0 1.0 3 ▇▅▁▂▁
phq.moving_fidgety_noticed_opposite_retro_numeric 2830 0.70 2.900000e-01 6.400000e-01 0 0 0 0.0 3 ▇▂▁▁▁
phq.dead_hurting_thoughts_retro_numeric 2832 0.70 3.400000e-01 7.100000e-01 0 0 0 0.0 3 ▇▂▁▁▁
phq.little_interest_or_pleasure_in_doing_things_base_numeric 823 0.91 1.290000e+00 1.040000e+00 0 1 1 2.0 3 ▅▇▁▃▃
phq.feeling_down_depressed_or_hopeless_base_numeric 826 0.91 1.180000e+00 1.030000e+00 0 0 1 2.0 3 ▆▇▁▃▃
phq.staying_asleep_sleeping_trouble_base_numeric 824 0.91 1.610000e+00 1.130000e+00 0 1 2 3.0 3 ▆▇▁▅▇
phq.feeling_tired_or_having_little_energy_base_numeric 825 0.91 1.610000e+00 1.040000e+00 0 1 1 3.0 3 ▃▇▁▅▆
phq.poor_appetite_or_overeating_base_numeric 825 0.91 1.320000e+00 1.150000e+00 0 0 1 2.0 3 ▇▆▁▅▆
phq.feeling_bad_failure_family_base_numeric 826 0.91 1.020000e+00 1.100000e+00 0 0 1 2.0 3 ▇▅▁▃▃
phq.trouble_concentrating_reading_newspaper_base_numeric 824 0.91 1.180000e+00 1.070000e+00 0 0 1 2.0 3 ▇▇▁▅▃
phq.moving_fidgety_noticed_opposite_base_numeric 829 0.91 5.100000e-01 8.500000e-01 0 0 0 1.0 3 ▇▂▁▁▁
phq.dead_hurting_thoughts_base_numeric 834 0.91 4.500000e-01 8.700000e-01 0 0 0 1.0 3 ▇▂▁▁▁
phq.sum_score_retro_raw 0 1.00 4.470000e+00 5.410000e+00 0 0 3 7.0 27 ▇▂▁▁▁
phq.sum_score_base_raw 0 1.00 9.300000e+00 7.280000e+00 0 3 8 14.0 27 ▇▅▅▂▂
na_per_person_phq_retro 0 1.00 2.670000e+00 4.110000e+00 0 0 0 9.0 9 ▇▁▁▁▃
phq.missing_only_suicide_item_retro 0 1.00 0.000000e+00 2.000000e-02 0 0 0 0.0 1 ▇▁▁▁▁
na_per_person_phq_base 0 1.00 7.800000e-01 2.530000e+00 0 0 0 0.0 9 ▇▁▁▁▁
phq.missing_only_suicide_item_base 0 1.00 0.000000e+00 3.000000e-02 0 0 0 0.0 1 ▇▁▁▁▁
phq.sum_score_base 844 0.91 1.017000e+01 7.000000e+00 0 4 9 15.0 27 ▇▆▆▃▂
phq.sum_score_8items_base 0 1.00 9.300000e+00 7.280000e+00 0 3 8 14.0 27 ▇▅▅▂▂
phq.sum_score_retro 2844 0.70 6.340000e+00 5.440000e+00 0 2 5 9.0 27 ▇▃▂▁▁
phq.sum_score_8items_retro 0 1.00 4.470000e+00 5.410000e+00 0 0 3 7.0 27 ▇▂▁▁▁
ocir.felt_pandemic_feelings_numeric 5941 0.38 2.120000e+00 7.600000e-01 1 2 2 3.0 5 ▃▇▅▁▁
ocir.saved_things_retro_numeric 6979 0.27 7.000000e-01 1.010000e+00 0 0 0 1.0 4 ▇▃▁▁▁
ocir.i_check_things_more_often_than_necessary_retro_numeric 6975 0.27 7.200000e-01 9.400000e-01 0 0 0 1.0 4 ▇▅▂▁▁
ocir.arranged_properly_objects_upset_retro_numeric 6975 0.27 8.600000e-01 1.060000e+00 0 0 1 1.0 4 ▇▆▂▁▁
ocir.feel_compelled_count_things_retro_numeric 6975 0.27 4.300000e-01 9.000000e-01 0 0 0 0.0 4 ▇▂▁▁▁
ocir.strangers_touch_touched_difficult_retro_numeric 6975 0.27 5.800000e-01 9.600000e-01 0 0 0 1.0 4 ▇▃▁▁▁
ocir.control_difficult_find_thoughts_retro_numeric 6975 0.27 1.400000e+00 1.210000e+00 0 0 1 2.0 4 ▆▇▃▃▂
ocir.i_collect_things_i_dont_need_retro_numeric 6976 0.27 7.200000e-01 1.050000e+00 0 0 0 1.0 4 ▇▃▁▁▁
ocir.i_repeatedly_check_doors_windows_drawers_etc_retro_numeric 6979 0.27 5.400000e-01 9.100000e-01 0 0 0 1.0 4 ▇▂▁▁▁
ocir.arranged_things_change_upset_retro_numeric 6980 0.27 9.900000e-01 1.160000e+00 0 0 1 1.0 4 ▇▆▂▁▁
ocir.repeat_feel_numbers_retro_numeric 6978 0.27 2.500000e-01 7.100000e-01 0 0 0 0.0 4 ▇▁▁▁▁
ocir.clean_simply_wash_feel_retro_numeric 6977 0.27 5.200000e-01 8.700000e-01 0 0 0 1.0 4 ▇▃▁▁▁
ocir.mind_upset_unpleasant_thoughts_retro_numeric 6977 0.27 1.300000e+00 1.170000e+00 0 0 1 2.0 4 ▆▇▃▂▁
ocir.afraid_avoid_throwing_things_retro_numeric 6977 0.27 8.600000e-01 1.070000e+00 0 0 1 1.0 4 ▇▅▂▁▁
ocir.light_switches_water_taps_retro_numeric 6978 0.27 4.300000e-01 8.300000e-01 0 0 0 1.0 4 ▇▂▁▁▁
ocir.arranged_things_retro_numeric 6977 0.27 8.700000e-01 1.080000e+00 0 0 1 1.0 4 ▇▅▂▁▁
ocir.good_feel_bad_numbers_retro_numeric 6978 0.27 4.400000e-01 9.500000e-01 0 0 0 0.0 4 ▇▁▁▁▁
ocir.hands_longer_wash_retro_numeric 6977 0.27 4.500000e-01 8.700000e-01 0 0 0 1.0 4 ▇▂▁▁▁
ocir.frequently_difficulty_rid_nasty_retro_numeric 6980 0.27 1.190000e+00 1.220000e+00 0 0 1 2.0 4 ▇▇▃▂▂
ocir.saved_things_base_numeric 5957 0.38 1.010000e+00 1.190000e+00 0 0 1 2.0 4 ▇▃▂▂▁
ocir.i_check_things_more_often_than_necessary_base_numeric 5941 0.38 1.370000e+00 1.220000e+00 0 0 1 2.0 4 ▇▇▅▅▂
ocir.arranged_properly_objects_upset_base_numeric 5941 0.38 1.080000e+00 1.200000e+00 0 0 1 2.0 4 ▇▅▃▂▁
ocir.feel_compelled_count_things_base_numeric 5944 0.38 6.800000e-01 1.130000e+00 0 0 0 1.0 4 ▇▂▁▁▁
ocir.strangers_touch_touched_difficult_base_numeric 5941 0.38 1.540000e+00 1.380000e+00 0 0 1 3.0 4 ▇▇▅▅▃
ocir.control_difficult_find_thoughts_base_numeric 5941 0.38 1.930000e+00 1.320000e+00 0 1 2 3.0 4 ▅▇▆▆▅
ocir.i_collect_things_i_dont_need_base_numeric 5943 0.38 8.200000e-01 1.150000e+00 0 0 0 1.0 4 ▇▃▂▁▁
ocir.i_repeatedly_check_doors_windows_drawers_etc_base_numeric 5942 0.38 7.000000e-01 1.090000e+00 0 0 0 1.0 4 ▇▂▁▁▁
ocir.arranged_things_change_upset_base_numeric 5946 0.38 1.230000e+00 1.290000e+00 0 0 1 2.0 4 ▇▆▃▂▂
ocir.repeat_feel_numbers_base_numeric 5942 0.38 3.600000e-01 8.800000e-01 0 0 0 0.0 4 ▇▁▁▁▁
ocir.clean_simply_wash_feel_base_numeric 5941 0.38 1.150000e+00 1.170000e+00 0 0 1 2.0 4 ▇▇▃▂▁
ocir.mind_upset_unpleasant_thoughts_base_numeric 5942 0.38 1.730000e+00 1.300000e+00 0 1 1 3.0 4 ▅▇▅▅▃
ocir.afraid_avoid_throwing_things_base_numeric 5940 0.38 1.070000e+00 1.220000e+00 0 0 1 2.0 4 ▇▅▂▂▁
ocir.light_switches_water_taps_base_numeric 5941 0.38 5.200000e-01 9.600000e-01 0 0 0 1.0 4 ▇▂▁▁▁
ocir.arranged_things_base_numeric 5940 0.38 1.000000e+00 1.190000e+00 0 0 1 2.0 4 ▇▅▂▂▁
ocir.good_feel_bad_numbers_base_numeric 5941 0.38 5.600000e-01 1.100000e+00 0 0 0 1.0 4 ▇▁▁▁▁
ocir.hands_longer_wash_base_numeric 5941 0.38 9.600000e-01 1.250000e+00 0 0 0 2.0 4 ▇▃▂▁▁
ocir.frequently_difficulty_rid_nasty_base_numeric 5942 0.38 1.480000e+00 1.370000e+00 0 0 1 3.0 4 ▇▇▃▃▃
ocir.sum_score_retro_raw 0 1.00 8.410000e+00 1.508000e+01 0 0 0 19.0 86 ▇▂▁▁▁
ocir.sum_score_base_raw 0 1.00 1.404000e+01 1.978000e+01 0 0 0 29.0 90 ▇▃▂▁▁
na_per_person_ocir_retro 0 1.00 1.315000e+01 7.980000e+00 0 0 18 18.0 18 ▃▁▁▁▇
na_per_person_ocir_base 0 1.00 1.120000e+01 8.720000e+00 0 0 18 18.0 18 ▅▁▁▁▇
ocir.sum_score_base 5973 0.37 3.713000e+01 1.328000e+01 18 27 34 44.0 90 ▇▆▂▁▁
ocir.sum_score_retro 6996 0.27 3.124000e+01 1.151000e+01 18 23 28 37.0 86 ▇▃▁▁▁
alsfrs.limb_weakness_noticed_past_numeric 1028 0.89 1.600000e-01 3.700000e-01 0 0 0 0.0 1 ▇▁▁▁▂
alsfrs.normal_numeric 8176 0.14 7.100000e-01 4.600000e-01 0 0 1 1.0 1 ▃▁▁▁▇
alsfrs.slow_or_sloppy_all_words_are_legible_numeric 8176 0.14 1.500000e-01 3.600000e-01 0 0 0 0.0 1 ▇▁▁▁▂
alsfrs.not_all_words_are_legible_numeric 8176 0.14 9.000000e-02 2.900000e-01 0 0 0 0.0 1 ▇▁▁▁▁
alsfrs.able_to_grip_pen_numeric 8176 0.14 4.000000e-02 1.900000e-01 0 0 0 0.0 1 ▇▁▁▁▁
alsfrs.unable_to_grip_pen_numeric 8176 0.14 6.000000e-02 2.300000e-01 0 0 0 0.0 1 ▇▁▁▁▁
alsfrs.have_you_noticed_any_difficulty_walking_numeric 8177 0.14 5.600000e-01 7.500000e-01 0 0 0 1.0 5 ▇▁▁▁▁
alsfrs.do_you_have_any_difficulty_climbing_stairs_numeric 8173 0.14 1.020000e+00 1.170000e+00 0 0 1 2.0 4 ▇▃▃▂▁
ess.felt_excessively_sleepy_past_numeric 1035 0.89 4.500000e-01 5.000000e-01 0 0 0 1.0 1 ▇▁▁▁▆
ess.sitting_and_reading_numeric 5739 0.40 1.350000e+00 9.700000e-01 0 1 1 2.0 3 ▅▇▁▆▃
ess.watching_tv_numeric 5744 0.40 1.470000e+00 9.600000e-01 0 1 1 2.0 3 ▃▇▁▆▃
ess.sitting_inactive_in_a_public_place_numeric 5750 0.40 5.300000e-01 8.100000e-01 0 0 0 1.0 3 ▇▃▁▁▁
ess.break_passenger_car_hour_numeric 5755 0.40 1.190000e+00 1.030000e+00 0 0 1 2.0 3 ▇▇▁▅▃
ess.afternoon_rest_circumstances_lying_numeric 5737 0.40 2.060000e+00 9.700000e-01 0 1 2 3.0 3 ▂▃▁▅▇
ess.sitting_and_talking_to_someone_numeric 5738 0.40 1.800000e-01 4.900000e-01 0 0 0 0.0 3 ▇▁▁▁▁
ess.sitting_quietly_after_a_lunch_without_alcohol_numeric 5744 0.40 8.400000e-01 9.100000e-01 0 0 1 1.0 3 ▇▆▁▂▁
ess.car_minutes_stopped_traffic_numeric 5747 0.40 1.600000e-01 4.900000e-01 0 0 0 0.0 3 ▇▁▁▁▁
ess.insomnia_numeric 9547 0.00 NaN NA NA NA NA NA NA
ess.narcolepsy_numeric 9547 0.00 NaN NA NA NA NA NA NA
ess.rem_sleep_behaviour_disorder_numeric 9547 0.00 NaN NA NA NA NA NA NA
ess.restless_legs_syndrome_numeric 9547 0.00 NaN NA NA NA NA NA NA
ess.sleep_apnea_numeric 9547 0.00 NaN NA NA NA NA NA NA
ess.sleep_terrors_numeric 9547 0.00 NaN NA NA NA NA NA NA
ess.sleepwalking_numeric 9547 0.00 NaN NA NA NA NA NA NA
ess.other_numeric 9547 0.00 NaN NA NA NA NA NA NA
ess.none_numeric 9547 0.00 NaN NA NA NA NA NA NA
midas.headaches_suffered_past_month_numeric 1035 0.89 4.900000e-01 5.000000e-01 0 0 0 1.0 1 ▇▁▁▁▇
midas.days_past_month_miss_work_school_numeric 5717 0.40 1.370000e+00 4.190000e+00 0 0 0 0.0 31 ▇▁▁▁▁
midas.days_past_month_work_school_half_productivity_numeric 5759 0.40 2.720000e+00 5.300000e+00 0 0 0 3.0 31 ▇▁▁▁▁
midas.days_past_month_miss_housework_numeric 5628 0.41 4.200000e+00 6.250000e+00 0 0 2 5.0 31 ▇▁▁▁▁
midas.days_past_month_housework_half_productivity_numeric 5661 0.41 4.440000e+00 6.640000e+00 0 0 2 6.0 31 ▇▁▁▁▁
midas.days_past_month_miss_social_activities_numeric 5803 0.39 2.310000e+00 5.320000e+00 0 0 0 2.0 31 ▇▁▁▁▁
nmss.ability_taste_food_smell_numeric 1043 0.89 7.000000e-02 2.600000e-01 0 0 0 0.0 1 ▇▁▁▁▁
nmss.severe_taste_smell_loss_numeric 8945 0.06 2.370000e+00 1.360000e+00 0 1 2 3.0 5 ▇▇▆▃▂
nmsw.drink_problems_choking_difficulty_numeric 1057 0.89 8.000000e-02 2.700000e-01 0 0 0 0.0 1 ▇▁▁▁▁
nmsw.regularly_night_pass_urine_numeric 1058 0.89 4.000000e-01 4.900000e-01 0 0 0 1.0 1 ▇▁▁▁▆
nmsw.sex_difficult_finding_numeric 1245 0.87 1.100000e-01 3.200000e-01 0 0 0 0.0 1 ▇▁▁▁▁
nmsw.weak_standing_feeling_light_numeric 1059 0.89 3.600000e-01 4.800000e-01 0 0 0 1.0 1 ▇▁▁▁▅
nmsw.acting_moving_sleep_talking_numeric 1081 0.89 1.700000e-01 3.800000e-01 0 0 0 0.0 1 ▇▁▁▁▂
nmsw.double_vision_numeric 1060 0.89 6.000000e-02 2.400000e-01 0 0 0 0.0 1 ▇▁▁▁▁
tinnitus.ears_noises_minutes_head_numeric 1052 0.89 2.600000e-01 4.400000e-01 0 0 0 1.0 1 ▇▁▁▁▃
tinnitus.ears_noises_minutes_head_frequency_numeric 7341 0.23 2.700000e+00 1.030000e+00 0 2 2 4.0 4 ▁▂▇▃▆
tinnitus.noises_worry_worst_upset_numeric 7341 0.23 1.150000e+00 8.000000e-01 0 1 1 2.0 3 ▃▇▁▅▁

Variable type: POSIXct

skim_variable n_missing complete_rate min max median n_unique
startDate.coping 0 1 2020-04-07 10:10:40 2020-08-04 14:44:35 2020-04-24 17:30:18 9535

Check duplicates again to be saved +++KLP: RAMP: More than one column: Age, Sex, Login ID; if they match on all 3 then we treat them as a duplicate; otherwise we are going to rename the Login ID +++KT: No duplicates identified by ID in GLAD. +++MD: Duplicates have been removed in cleaning script for NBR. No duplicates at this stage.

FALSE 
 9547 

#Exclusion Exclude those without sex, gender, age and incomplete PHQ/GAD items Create a new new object for each exclusion step, e.g., data.no_sex, data.no_gender and data.no_sex.no_age

[1] 9547  371
[1] 8706  371
[1] 841

841 were excluded because they did not report their sex

[1] 8706  371
[1] 8705  371
[1] 1

dim(dat.no.sex.no.gender)[1]-dim(dat.no.sex.no.gender.no.age)[1] were excluded because they did not report their age

Exclusion of inflammatory bowel disease (IBD) and GLAD BioResource (NBR) cohort ++MD: 3,410 participants from NBR IBD cohort excluded ++KT: 3 duplicated GLAD participants are excluded

##Create tidy data on which the exclusion criteria have been applied Complete sex, gender, age and missingness information applied.

Data summary
Name dat
Number of rows 8705
Number of columns 371
_______________________
Column type frequency:
character 10
factor 161
logical 1
numeric 198
POSIXct 1
________________________
Group variables None

Variable type: character

skim_variable n_missing complete_rate min max empty n_unique whitespace
Sample 0 1 4 4 0 1 0
ess.insomnia 8705 0 NA NA 0 0 0
ess.narcolepsy 8705 0 NA NA 0 0 0
ess.rem_sleep_behaviour_disorder 8705 0 NA NA 0 0 0
ess.restless_legs_syndrome 8705 0 NA NA 0 0 0
ess.sleep_apnea 8705 0 NA NA 0 0 0
ess.sleep_terrors 8705 0 NA NA 0 0 0
ess.sleepwalking 8705 0 NA NA 0 0 0
ess.other 8705 0 NA NA 0 0 0
ess.none 8705 0 NA NA 0 0 0

Variable type: factor

skim_variable n_missing complete_rate ordered n_unique top_counts
age_category 0 1.00 FALSE 13 56-: 2243, 46-: 1547, 26-: 1070, 36-: 879
Gender 0 1.00 FALSE 4 Fem: 6818, Mal: 1792, Non: 75, Pre: 20
Transgender_uncleaned 13 1.00 FALSE 2 No: 8566, Yes: 126
Ethnicity_unc 43 1.00 FALSE 6 Whi: 8230, Mix: 165, Asi: 158, Oth: 64
Ethnicity 43 1.00 FALSE 6 Eur: 8230, Mix: 165, Asi: 158, Oth: 64
employment.what_is_your_highest_level_of_education 9 1.00 FALSE 7 Bac: 2914, A-l: 1698, GCS: 1247, Mas: 1212
employment.government_work_key_workers 3621 0.58 FALSE 11 Non: 2309, Hea: 1047, Edu: 699, Oth: 293
employment.unemployed 36 1.00 FALSE 2 Not: 8166, Une: 503
employment.zerohours_contract 36 1.00 FALSE 2 Not: 8439, Zer: 230
employment.stayathome_parent_or_carer 36 1.00 FALSE 2 Not: 8399, Sta: 270
employment.retired 459 0.95 FALSE 2 Not: 6133, Ret: 2113
employment.student_gcse_or_a_level 36 1.00 FALSE 2 Not: 8051, Stu: 618
employment.student_university 36 1.00 FALSE 2 Not: 8093, Stu: 576
employment.became_unemployed 2661 0.69 FALSE 2 Not: 5672, Bec: 372
employment.furloughed_or_paid_leave_government_funded 2661 0.69 FALSE 2 Not: 5412, Fur: 632
employment.furloughed_or_paid_leave_company_funded 2661 0.69 FALSE 2 Not: 5939, Fur: 105
employment.paid_leave_furloughed 2661 0.69 FALSE 2 Not: 5823, Fur: 221
highest_education 294 0.97 FALSE 3 Uni: 5466, A-l: 1698, GCS: 1247
key_worker 54 0.99 FALSE 2 No : 5876, Key: 2775
anxiety_disorders 979 0.89 FALSE 2 No : 4310, Anx: 3416
mhd.specific_phobia_e.g._phobia_of_flying 979 0.89 FALSE 2 Not: 7444, Spe: 282
mhd.social_anxiety_or_social_phobia 979 0.89 FALSE 2 Not: 6923, Soc: 803
agoraphobia_panic_disorder 979 0.89 FALSE 2 No : 6135, Ago: 1591
depressive_disorders 979 0.89 FALSE 2 Dep: 3917, No : 3809
eating_disorders 1473 0.83 FALSE 2 No : 6732, Eat: 500
obsessive_compulsive_disorders 979 0.89 FALSE 2 No : 7106, Obs: 620
psychotic_disorders 1473 0.83 FALSE 2 No : 7066, Psy: 166
mhd.mania_hypomania_bipolar_or_manicdepression 979 0.89 FALSE 2 Not: 7482, Man: 244
mhd.posttraumatic_stress_disorder_ptsd 979 0.89 FALSE 2 Not: 7017, Pos: 709
autism_spectrum_disorder 1473 0.83 FALSE 2 No : 7033, Aut: 199
mhd.attention_deficit_hyperactivity_disorder 1473 0.83 FALSE 2 Not: 7113, Att: 119
mhd.personality_disorder 1473 0.83 FALSE 2 Not: 6936, Per: 296
personality_cluster_a 1497 0.83 FALSE 2 No : 7198, Per: 10
personality_cluster_b 1497 0.83 FALSE 2 No : 6962, Per: 246
personality_cluster_c 1497 0.83 FALSE 2 No : 7192, Per: 16
depression_and_anxiety 979 0.89 FALSE 4 No : 2996, Dep: 2603, Onl: 1314, Onl: 813
restricting_vs_binge_eating_eating_disorders 1473 0.83 FALSE 3 No : 6732, Ano: 297, Eat: 203
bipolar_and_schizophrenia 1480 0.83 FALSE 4 No : 6913, Onl: 146, Onl: 86, Psy: 80
control 1015 0.88 FALSE 2 No : 5101, Con: 2589
comorbidity_total_count_factor 4235 0.51 FALSE 4 No : 1647, 1 c: 1634, 2 c: 638, 3+ : 551
mhd.none_of_the_above 979 0.89 FALSE 2 Not: 5018, Non: 2708
mhd.none_of_the_above.1 1473 0.83 FALSE 2 Non: 5993, Not: 1239
gad.problems_made_difficult_care 756 0.91 FALSE 4 Som: 4079, Not: 2530, Ver: 888, Ext: 452
gad.pandemic_felt_feelings 49 0.99 FALSE 5 A l: 3581, Muc: 2352, No : 2158, A l: 364
gad.feeling_nervous_anxious_or_on_edge_retro 2214 0.75 FALSE 4 Sev: 3308, Not: 2062, Mor: 752, Nea: 369
gad.control_worrying_stop_retro 2216 0.75 FALSE 4 Sev: 2733, Not: 2711, Mor: 711, Nea: 334
gad.worrying_too_much_about_different_things_retro 2214 0.75 FALSE 4 Sev: 3320, Not: 1888, Mor: 869, Nea: 414
gad.trouble_relaxing_retro 2214 0.75 FALSE 4 Not: 2887, Sev: 2562, Mor: 684, Nea: 358
gad.sit_restless_hard_retro 2217 0.75 FALSE 4 Not: 4559, Sev: 1392, Mor: 371, Nea: 166
gad.becoming_easily_annoyed_or_irritable_retro 2214 0.75 FALSE 4 Sev: 3025, Not: 2318, Mor: 824, Nea: 324
gad.awful_feeling_afraid_happen_retro 2215 0.75 FALSE 4 Not: 3717, Sev: 1881, Mor: 599, Nea: 293
gad.feeling_nervous_anxious_or_on_edge_base 14 1.00 FALSE 4 Sev: 3191, Not: 2023, Nea: 1786, Mor: 1691
gad.control_worrying_stop_base 18 1.00 FALSE 4 Not: 3075, Sev: 2661, Nea: 1495, Mor: 1456
gad.worrying_too_much_about_different_things_base 16 1.00 FALSE 4 Sev: 2993, Not: 2444, Mor: 1635, Nea: 1617
gad.trouble_relaxing_base 17 1.00 FALSE 4 Sev: 2890, Not: 2502, Mor: 1722, Nea: 1574
gad.sit_restless_hard_base 18 1.00 FALSE 4 Not: 4897, Sev: 2195, Mor: 927, Nea: 668
gad.becoming_easily_annoyed_or_irritable_base 19 1.00 FALSE 4 Sev: 3128, Not: 2343, Mor: 1739, Nea: 1476
gad.awful_feeling_afraid_happen_base 16 1.00 FALSE 4 Not: 3188, Sev: 2594, Mor: 1474, Nea: 1433
pcl.stressful_experience_repeated_images_base 358 0.96 FALSE 5 Not: 3691, A l: 2056, Qui: 1129, Mod: 990
pcl.stressful_experience_upset_reminded_base 364 0.96 FALSE 5 Not: 3395, A l: 2292, Qui: 1072, Mod: 1058
pcl.stressful_situation_avoiding_activities_base 407 0.95 FALSE 5 Not: 5773, A l: 1207, Mod: 574, Qui: 481
pcl.cut_people_feeling_distant_base 344 0.96 FALSE 5 A l: 2246, Qui: 1844, Not: 1603, Mod: 1409
pcl.feeling_irritable_or_having_angry_outbursts_base 345 0.96 FALSE 5 A l: 2924, Not: 2542, Mod: 1252, Qui: 1191
pcl.difficulty_concentrating_base 347 0.96 FALSE 5 A l: 2479, Not: 2011, Qui: 1543, Mod: 1394
pcl.stressful_experience_repeated_images_retro 3111 0.64 FALSE 2 No: 4573, Yes: 1021
pcl.stressful_experience_upset_reminded_retro 2889 0.67 FALSE 2 No: 4675, Yes: 1141
pcl.stressful_situation_avoiding_activities_retro 4226 0.51 FALSE 2 No: 3826, Yes: 653
pcl.cut_people_feeling_distant_retro 1394 0.84 FALSE 2 Yes: 5293, No: 2018
pcl.feeling_irritable_or_having_angry_outbursts_retro 2075 0.76 FALSE 2 Yes: 3679, No: 2951
pcl.difficulty_concentrating_retro 1764 0.80 FALSE 2 Yes: 3914, No: 3027
phq.problems_made_difficult_care 435 0.95 FALSE 4 Som: 4123, Not: 2662, Ver: 1031, Ext: 454
phq.pandemic_felt_feelings 79 0.99 FALSE 5 A l: 3770, Muc: 2280, No : 1921, A l: 416
phq.little_interest_or_pleasure_in_doing_things_retro 2011 0.77 FALSE 4 Not: 3282, Sev: 2654, Mor: 506, Nea: 252
phq.feeling_down_depressed_or_hopeless_retro 2009 0.77 FALSE 4 Sev: 3095, Not: 2668, Mor: 598, Nea: 335
phq.staying_asleep_sleeping_trouble_retro 2011 0.77 FALSE 4 Sev: 2877, Not: 2228, Mor: 919, Nea: 670
phq.feeling_tired_or_having_little_energy_retro 2012 0.77 FALSE 4 Sev: 3483, Not: 1554, Mor: 1010, Nea: 646
phq.poor_appetite_or_overeating_retro 2012 0.77 FALSE 4 Not: 3292, Sev: 2170, Mor: 765, Nea: 466
phq.feeling_bad_failure_family_retro 2012 0.77 FALSE 4 Not: 3302, Sev: 2228, Mor: 752, Nea: 411
phq.trouble_concentrating_reading_newspaper_retro 2014 0.77 FALSE 4 Not: 3688, Sev: 2064, Mor: 623, Nea: 316
phq.moving_fidgety_noticed_opposite_retro 2015 0.77 FALSE 4 Not: 5289, Sev: 977, Mor: 303, Nea: 121
phq.dead_hurting_thoughts_retro 2017 0.77 FALSE 4 Not: 5134, Sev: 1016, Mor: 340, Nea: 198
phq.little_interest_or_pleasure_in_doing_things_base 15 1.00 FALSE 4 Sev: 3381, Not: 2166, Nea: 1582, Mor: 1561
phq.feeling_down_depressed_or_hopeless_base 18 1.00 FALSE 4 Sev: 3324, Not: 2594, Mor: 1403, Nea: 1366
phq.staying_asleep_sleeping_trouble_base 16 1.00 FALSE 4 Nea: 2681, Sev: 2403, Not: 1833, Mor: 1772
phq.feeling_tired_or_having_little_energy_base 17 1.00 FALSE 4 Sev: 3094, Nea: 2335, Mor: 1964, Not: 1295
phq.poor_appetite_or_overeating_base 17 1.00 FALSE 4 Not: 2845, Sev: 2150, Nea: 1968, Mor: 1725
phq.feeling_bad_failure_family_base 18 1.00 FALSE 4 Not: 3811, Sev: 2268, Nea: 1333, Mor: 1275
phq.trouble_concentrating_reading_newspaper_base 16 1.00 FALSE 4 Not: 2952, Sev: 2648, Mor: 1677, Nea: 1412
phq.moving_fidgety_noticed_opposite_base 21 1.00 FALSE 4 Not: 5922, Sev: 1532, Mor: 822, Nea: 408
phq.dead_hurting_thoughts_base 26 1.00 FALSE 4 Not: 6368, Sev: 1218, Mor: 555, Nea: 538
ocir.felt_pandemic_feelings 5115 0.41 FALSE 5 A l: 1740, No : 1024, Muc: 758, A l: 54
ocir.saved_things_retro 6148 0.29 FALSE 5 Not: 1498, A l: 611, Mod: 229, A l: 169
ocir.i_check_things_more_often_than_necessary_retro 6144 0.29 FALSE 5 Not: 1351, A l: 801, Mod: 239, A l: 131
ocir.arranged_properly_objects_upset_retro 6144 0.29 FALSE 5 Not: 1225, A l: 815, Mod: 270, A l: 166
ocir.feel_compelled_count_things_retro 6144 0.29 FALSE 5 Not: 1945, A l: 347, Mod: 124, A l: 93
ocir.strangers_touch_touched_difficult_retro 6144 0.29 FALSE 5 Not: 1654, A l: 554, Mod: 190, A l: 99
ocir.control_difficult_find_thoughts_retro 6144 0.29 FALSE 5 A l: 941, Not: 656, Mod: 445, A l: 321
ocir.i_collect_things_i_dont_need_retro 6145 0.29 FALSE 5 Not: 1479, A l: 629, Mod: 222, A l: 152
ocir.i_repeatedly_check_doors_windows_drawers_etc_retro 6148 0.29 FALSE 5 Not: 1710, A l: 520, Mod: 172, A l: 119
ocir.arranged_things_change_upset_retro 6149 0.29 FALSE 5 Not: 1114, A l: 824, Mod: 293, A l: 182
ocir.repeat_feel_numbers_retro 6147 0.29 FALSE 5 Not: 2203, A l: 201, Mod: 72, A l: 52
ocir.clean_simply_wash_feel_retro 6146 0.29 FALSE 5 Not: 1676, A l: 593, Mod: 172, A l: 75
ocir.mind_upset_unpleasant_thoughts_retro 6146 0.29 FALSE 5 A l: 955, Not: 722, Mod: 439, A l: 286
ocir.afraid_avoid_throwing_things_retro 6146 0.29 FALSE 5 Not: 1236, A l: 783, Mod: 276, A l: 189
ocir.light_switches_water_taps_retro 6147 0.29 FALSE 5 Not: 1852, A l: 456, Mod: 136, A l: 89
ocir.arranged_things_retro 6146 0.29 FALSE 5 Not: 1236, A l: 788, Mod: 273, A l: 164
ocir.good_feel_bad_numbers_retro 6147 0.29 FALSE 5 Not: 1957, A l: 322, Mod: 123, A l: 80
ocir.hands_longer_wash_retro 6146 0.29 FALSE 5 Not: 1844, A l: 439, Mod: 146, A l: 88
ocir.frequently_difficulty_rid_nasty_retro 6149 0.29 FALSE 5 Not: 913, A l: 843, Mod: 376, A l: 246
ocir.saved_things_base 5131 0.41 FALSE 5 Not: 1688, A l: 830, Mod: 542, A l: 366
ocir.i_check_things_more_often_than_necessary_base 5115 0.41 FALSE 5 A l: 1078, Not: 1076, Mod: 681, A l: 549
ocir.arranged_properly_objects_upset_base 5115 0.41 FALSE 5 Not: 1539, A l: 947, Mod: 561, A l: 366
ocir.feel_compelled_count_things_base 5117 0.41 FALSE 5 Not: 2360, A l: 564, Mod: 277, A l: 243
ocir.strangers_touch_touched_difficult_base 5115 0.41 FALSE 5 Not: 1076, A l: 947, Mod: 562, A l: 562
ocir.control_difficult_find_thoughts_base 5115 0.41 FALSE 5 A l: 1011, Mod: 729, A l: 725, Ext: 568
ocir.i_collect_things_i_dont_need_base 5117 0.41 FALSE 5 Not: 1987, A l: 839, Mod: 350, A l: 248
ocir.i_repeatedly_check_doors_windows_drawers_etc_base 5116 0.41 FALSE 5 Not: 2237, A l: 684, Mod: 299, A l: 247
ocir.arranged_things_change_upset_base 5120 0.41 FALSE 5 Not: 1343, A l: 1077, Mod: 478, A l: 377
ocir.repeat_feel_numbers_base 5116 0.41 FALSE 5 Not: 2936, A l: 307, Mod: 148, A l: 123
ocir.clean_simply_wash_feel_base 5115 0.41 FALSE 5 Not: 1323, A l: 1133, Mod: 582, A l: 367
ocir.mind_upset_unpleasant_thoughts_base 5116 0.41 FALSE 5 A l: 1153, Mod: 691, Not: 681, A l: 599
ocir.afraid_avoid_throwing_things_base 5114 0.41 FALSE 5 Not: 1581, A l: 975, Mod: 441, A l: 398
ocir.light_switches_water_taps_base 5115 0.41 FALSE 5 Not: 2533, A l: 584, Mod: 227, A l: 164
ocir.arranged_things_base 5114 0.41 FALSE 5 Not: 1637, A l: 1022, Mod: 418, A l: 324
ocir.good_feel_bad_numbers_base 5115 0.41 FALSE 5 Not: 2641, A l: 395, Mod: 216, A l: 172
ocir.hands_longer_wash_base 5115 0.41 FALSE 5 Not: 1861, A l: 781, Mod: 403, A l: 303
ocir.frequently_difficulty_rid_nasty_base 5116 0.41 FALSE 5 Not: 1099, A l: 1044, Mod: 514, A l: 495
alsfrs.limb_weakness_noticed_past 219 0.97 FALSE 2 No: 7123, Yes: 1363
alsfrs.normal 7341 0.16 FALSE 2 Nor: 963, Not: 401
alsfrs.slow_or_sloppy_all_words_are_legible 7341 0.16 FALSE 2 Not: 1164, Slo: 200
alsfrs.not_all_words_are_legible 7341 0.16 FALSE 2 Not: 1238, Not: 126
alsfrs.able_to_grip_pen 7341 0.16 FALSE 2 Not: 1311, Abl: 53
alsfrs.unable_to_grip_pen 7341 0.16 FALSE 2 Not: 1285, Una: 79
alsfrs.have_you_noticed_any_difficulty_walking 7342 0.16 FALSE 6 Nor: 775, Ear: 435, Nee: 137, Abl: 8
alsfrs.do_you_have_any_difficulty_climbing_stairs 7338 0.16 FALSE 5 Nor: 629, Slo: 311, Mil: 255, Nee: 114
ess.felt_excessively_sleepy_past 227 0.97 FALSE 2 No: 4675, Yes: 3803
ess.sitting_and_reading 4919 0.43 FALSE 4 Sli: 1438, Mod: 1003, Wou: 787, Hig: 558
ess.watching_tv 4923 0.43 FALSE 4 Sli: 1397, Mod: 1104, Hig: 660, Wou: 621
ess.sitting_inactive_in_a_public_place 4930 0.43 FALSE 4 Wou: 2384, Sli: 927, Mod: 315, Hig: 149
ess.break_passenger_car_hour 4934 0.43 FALSE 4 Sli: 1305, Wou: 1151, Mod: 756, Hig: 559
ess.afternoon_rest_circumstances_lying 4917 0.44 FALSE 4 Hig: 1626, Mod: 1060, Sli: 809, Wou: 293
ess.sitting_and_talking_to_someone 4918 0.44 FALSE 4 Wou: 3252, Sli: 419, Mod: 86, Hig: 30
ess.sitting_quietly_after_a_lunch_without_alcohol 4924 0.43 FALSE 4 Wou: 1641, Sli: 1358, Mod: 525, Hig: 257
ess.car_minutes_stopped_traffic 4926 0.43 FALSE 4 Wou: 3319, Sli: 351, Mod: 67, Hig: 42
midas.headaches_suffered_past_month 227 0.97 FALSE 2 No: 4307, Yes: 4171
midas.days_past_month_miss_work_school 8705 0.00 FALSE 0 Did: 0
midas.days_past_month_work_school_half_productivity 8705 0.00 FALSE 0 Was: 0
midas.days_past_month_miss_housework 8705 0.00 FALSE 0 Did: 0
midas.days_past_month_housework_half_productivity 8705 0.00 FALSE 0 Was: 0
midas.days_past_month_miss_social_activities 8705 0.00 FALSE 0 Did: 0
nmss.ability_taste_food_smell 234 0.97 FALSE 2 No: 7872, Yes: 599
nmss.severe_taste_smell_loss 8106 0.07 FALSE 6 Mil: 179, Mod: 130, Min: 117, Sev: 79
nmsw.drink_problems_choking_difficulty 248 0.97 FALSE 2 No: 7807, Yes: 650
nmsw.regularly_night_pass_urine 249 0.97 FALSE 2 No: 5069, Yes: 3387
nmsw.sex_difficult_finding 435 0.95 FALSE 2 No: 7323, Yes: 947
nmsw.weak_standing_feeling_light 250 0.97 FALSE 2 No: 5388, Yes: 3067
nmsw.acting_moving_sleep_talking 272 0.97 FALSE 2 No: 6988, Yes: 1445
nmsw.double_vision 251 0.97 FALSE 2 No: 7928, Yes: 526
tinnitus.ears_noises_minutes_head 243 0.97 FALSE 2 No: 6266, Yes: 2196
tinnitus.ears_noises_minutes_head_frequency 6509 0.25 FALSE 5 Som: 944, Now: 704, Now: 343, Not: 189
tinnitus.noises_worry_worst_upset 6509 0.25 FALSE 4 Sli: 1041, Mod: 584, Not: 466, Sev: 105

Variable type: logical

skim_variable n_missing complete_rate mean count
ID.dup 0 1 0 FAL: 8705

Variable type: numeric

skim_variable n_missing complete_rate mean sd p0 p25 p50 p75 p100 hist
ID 0 1.00 5.485646e+10 1.820935e+11 50 271236 548600 840148 999384675640 ▇▁▁▁▁
age_category_numeric 0 1.00 4.820000e+00 2.060000e+00 1 3 5 6 13 ▆▆▇▁▁
Gender_numeric 0 1.00 8.100000e-01 4.300000e-01 0 1 1 1 3 ▂▇▁▁▁
Transgender_uncleaned_numeric 13 1.00 1.000000e-02 1.200000e-01 0 0 0 0 1 ▇▁▁▁▁
Ethnicity_numeric 43 1.00 1.110000e+00 5.700000e-01 1 1 1 1 6 ▇▁▁▁▁
employment.what_is_your_highest_level_of_education_numeric 9 1.00 2.910000e+00 1.420000e+00 0 2 3 4 6 ▅▅▇▃▃
employment.government_work_key_workers_numeric 3621 0.58 1.960000e+00 3.050000e+00 0 0 1 2 11 ▇▁▁▁▁
employment.unemployed_numeric 36 1.00 6.000000e-02 2.300000e-01 0 0 0 0 1 ▇▁▁▁▁
employment.zerohours_contract_numeric 36 1.00 3.000000e-02 1.600000e-01 0 0 0 0 1 ▇▁▁▁▁
employment.stayathome_parent_or_carer_numeric 36 1.00 3.000000e-02 1.700000e-01 0 0 0 0 1 ▇▁▁▁▁
employment.retired_numeric 459 0.95 2.600000e-01 4.400000e-01 0 0 0 1 1 ▇▁▁▁▃
employment.student_gcse_or_a_level_numeric 36 1.00 7.000000e-02 2.600000e-01 0 0 0 0 1 ▇▁▁▁▁
employment.student_university_numeric 36 1.00 7.000000e-02 2.500000e-01 0 0 0 0 1 ▇▁▁▁▁
employment.became_unemployed_numeric 2661 0.69 6.000000e-02 2.400000e-01 0 0 0 0 1 ▇▁▁▁▁
employment.furloughed_or_paid_leave_government_funded_numeric 2661 0.69 1.000000e-01 3.100000e-01 0 0 0 0 1 ▇▁▁▁▁
employment.furloughed_or_paid_leave_company_funded_numeric 2661 0.69 2.000000e-02 1.300000e-01 0 0 0 0 1 ▇▁▁▁▁
employment.paid_leave_furloughed_numeric 2661 0.69 4.000000e-02 1.900000e-01 0 0 0 0 1 ▇▁▁▁▁
highest_education_numeric 9 1.00 3.410000e+00 1.080000e+00 1 3 4 4 5 ▂▁▂▇▁
key_worker_numeric 54 0.99 3.200000e-01 4.700000e-01 0 0 0 1 1 ▇▁▁▁▃
anxiety_disorders_numeric 979 0.89 4.400000e-01 5.000000e-01 0 0 0 1 1 ▇▁▁▁▆
mhd.specific_phobia_e.g._phobia_of_flying_numeric 979 0.89 4.000000e-02 1.900000e-01 0 0 0 0 1 ▇▁▁▁▁
mhd.social_anxiety_or_social_phobia_numeric 979 0.89 1.000000e-01 3.100000e-01 0 0 0 0 1 ▇▁▁▁▁
agoraphobia_panic_disorder_numeric 979 0.89 2.100000e-01 4.000000e-01 0 0 0 0 1 ▇▁▁▁▂
depressive_disorders_numeric 979 0.89 5.100000e-01 5.000000e-01 0 0 1 1 1 ▇▁▁▁▇
eating_disorders_numeric 1473 0.83 7.000000e-02 2.500000e-01 0 0 0 0 1 ▇▁▁▁▁
obsessive_compulsive_disorders_numeric 979 0.89 8.000000e-02 2.700000e-01 0 0 0 0 1 ▇▁▁▁▁
psychotic_disorders_numeric 1473 0.83 2.000000e-02 1.500000e-01 0 0 0 0 1 ▇▁▁▁▁
mhd.mania_hypomania_bipolar_or_manicdepression_numeric 979 0.89 3.000000e-02 1.700000e-01 0 0 0 0 1 ▇▁▁▁▁
mhd.posttraumatic_stress_disorder_ptsd_numeric 979 0.89 9.000000e-02 2.900000e-01 0 0 0 0 1 ▇▁▁▁▁
autism_spectrum_disorder_numeric 1473 0.83 3.000000e-02 1.600000e-01 0 0 0 0 1 ▇▁▁▁▁
mhd.attention_deficit_hyperactivity_disorder_numeric 1473 0.83 2.000000e-02 1.300000e-01 0 0 0 0 1 ▇▁▁▁▁
mhd.personality_disorder_numeric 1473 0.83 4.000000e-02 2.000000e-01 0 0 0 0 1 ▇▁▁▁▁
personality_cluster_a_numeric 1497 0.83 0.000000e+00 4.000000e-02 0 0 0 0 1 ▇▁▁▁▁
personality_cluster_b_numeric 1497 0.83 3.000000e-02 1.800000e-01 0 0 0 0 1 ▇▁▁▁▁
personality_cluster_c_numeric 1497 0.83 0.000000e+00 5.000000e-02 0 0 0 0 1 ▇▁▁▁▁
depression_and_anxiety_numeric 979 0.89 9.900000e-01 9.900000e-01 0 0 1 2 3 ▇▇▁▃▂
restricting_vs_binge_eating_eating_disorders_numeric 1473 0.83 1.000000e-01 3.800000e-01 0 0 0 0 2 ▇▁▁▁▁
bipolar_and_schizophrenia_numeric 1480 0.83 1.000000e-01 4.800000e-01 0 0 0 0 3 ▇▁▁▁▁
control_numeric 1015 0.88 3.400000e-01 4.700000e-01 0 0 0 1 1 ▇▁▁▁▅
disorders_total_count 1480 0.83 1.300000e+00 1.410000e+00 0 0 1 2 9 ▇▅▁▁▁
comorbidity_total_count_numeric 4235 0.51 1.110000e+00 1.230000e+00 0 0 1 2 8 ▇▂▁▁▁
comorbidity_total_count_factor_numeric 4235 0.51 1.020000e+00 1.000000e+00 0 0 1 2 3 ▇▇▁▃▃
gad.problems_made_difficult_care_numeric 756 0.91 1.910000e+00 8.100000e-01 1 1 2 2 4 ▅▇▁▂▁
gad.pandemic_felt_feelings_numeric 49 0.99 2.130000e+00 9.400000e-01 1 1 2 3 5 ▅▇▅▁▁
gad.feeling_nervous_anxious_or_on_edge_retro_numeric 2214 0.75 9.100000e-01 8.100000e-01 0 0 1 1 3 ▅▇▁▂▁
gad.control_worrying_stop_retro_numeric 2216 0.75 7.900000e-01 8.300000e-01 0 0 1 1 3 ▇▇▁▂▁
gad.worrying_too_much_about_different_things_retro_numeric 2214 0.75 9.700000e-01 8.200000e-01 0 0 1 1 3 ▅▇▁▂▁
gad.trouble_relaxing_retro_numeric 2214 0.75 7.700000e-01 8.500000e-01 0 0 1 1 3 ▇▇▁▂▁
gad.sit_restless_hard_retro_numeric 2217 0.75 4.100000e-01 7.100000e-01 0 0 0 1 3 ▇▂▁▁▁
gad.becoming_easily_annoyed_or_irritable_retro_numeric 2214 0.75 8.700000e-01 8.200000e-01 0 0 1 1 3 ▆▇▁▂▁
gad.awful_feeling_afraid_happen_retro_numeric 2215 0.75 6.100000e-01 8.300000e-01 0 0 0 1 3 ▇▅▁▁▁
gad.feeling_nervous_anxious_or_on_edge_base_numeric 14 1.00 1.370000e+00 1.050000e+00 0 1 1 2 3 ▅▇▁▅▅
gad.control_worrying_stop_base_numeric 18 1.00 1.160000e+00 1.090000e+00 0 0 1 2 3 ▇▇▁▃▃
gad.worrying_too_much_about_different_things_base_numeric 16 1.00 1.280000e+00 1.070000e+00 0 0 1 2 3 ▆▇▁▅▅
gad.trouble_relaxing_base_numeric 17 1.00 1.270000e+00 1.070000e+00 0 0 1 2 3 ▇▇▁▅▅
gad.sit_restless_hard_base_numeric 18 1.00 7.000000e-01 9.400000e-01 0 0 0 1 3 ▇▃▁▂▁
gad.becoming_easily_annoyed_or_irritable_base_numeric 19 1.00 1.270000e+00 1.040000e+00 0 0 1 2 3 ▆▇▁▅▃
gad.awful_feeling_afraid_happen_base_numeric 16 1.00 1.130000e+00 1.090000e+00 0 0 1 2 3 ▇▆▁▃▃
gad.sum_score_retro_raw 0 1.00 3.980000e+00 4.490000e+00 0 0 3 6 21 ▇▂▁▁▁
gad.sum_score_base_raw 0 1.00 8.170000e+00 6.100000e+00 0 3 7 13 21 ▇▆▃▃▃
na_per_person_gad_base 0 1.00 1.000000e-02 2.900000e-01 0 0 0 0 7 ▇▁▁▁▁
na_per_person_gad_retro 0 1.00 1.780000e+00 3.050000e+00 0 0 0 7 7 ▇▁▁▁▃
gad.sum_score_base 25 1.00 8.180000e+00 6.090000e+00 0 3 7 13 21 ▇▆▃▃▃
gad.sum_score_retro 2219 0.75 5.330000e+00 4.460000e+00 0 2 4 7 21 ▇▅▂▁▁
pcl.stressful_experience_repeated_images_base_numeric 358 0.96 2.120000e+00 1.270000e+00 1 1 2 3 5 ▇▅▂▂▁
pcl.stressful_experience_upset_reminded_base_numeric 364 0.96 2.170000e+00 1.260000e+00 1 1 2 3 5 ▇▆▂▂▁
pcl.stressful_situation_avoiding_activities_base_numeric 407 0.95 1.580000e+00 1.050000e+00 1 1 1 2 5 ▇▂▁▁▁
pcl.cut_people_feeling_distant_base_numeric 344 0.96 2.870000e+00 1.360000e+00 1 2 3 4 5 ▆▇▅▆▅
pcl.feeling_irritable_or_having_angry_outbursts_base_numeric 345 0.96 2.290000e+00 1.190000e+00 1 1 2 3 5 ▇▇▃▃▁
pcl.difficulty_concentrating_base_numeric 347 0.96 2.630000e+00 1.320000e+00 1 2 2 4 5 ▆▇▅▅▃
pcl.stressful_experience_repeated_images_retro_numeric 3111 0.64 1.800000e-01 3.900000e-01 0 0 0 0 1 ▇▁▁▁▂
pcl.stressful_experience_upset_reminded_retro_numeric 2889 0.67 2.000000e-01 4.000000e-01 0 0 0 0 1 ▇▁▁▁▂
pcl.stressful_situation_avoiding_activities_retro_numeric 4226 0.51 1.500000e-01 3.500000e-01 0 0 0 0 1 ▇▁▁▁▂
pcl.cut_people_feeling_distant_retro_numeric 1394 0.84 7.200000e-01 4.500000e-01 0 0 1 1 1 ▃▁▁▁▇
pcl.feeling_irritable_or_having_angry_outbursts_retro_numeric 2075 0.76 5.500000e-01 5.000000e-01 0 0 1 1 1 ▆▁▁▁▇
pcl.difficulty_concentrating_retro_numeric 1764 0.80 5.600000e-01 5.000000e-01 0 0 1 1 1 ▆▁▁▁▇
pcl.sum_score_retro_raw 0 1.00 1.800000e+00 1.570000e+00 0 0 2 3 6 ▇▃▃▁▁
pcl.sum_score_base_raw 0 1.00 1.310000e+01 5.980000e+00 0 9 12 17 30 ▂▇▆▃▁
na_per_person_pcl_base 0 1.00 2.500000e-01 1.160000e+00 0 0 0 0 6 ▇▁▁▁▁
na_per_person_pcl_retro 0 1.00 1.780000e+00 2.020000e+00 0 0 1 3 6 ▇▁▂▁▂
pcl.sum_score_base 423 0.95 1.364000e+01 5.510000e+00 6 9 13 17 30 ▇▇▅▂▁
pcl.sum_score_retro 4929 0.43 1.930000e+00 1.760000e+00 0 0 2 3 6 ▇▃▃▁▂
phq.problems_made_difficult_care_numeric 435 0.95 1.910000e+00 8.100000e-01 1 1 2 2 4 ▅▇▁▂▁
phq.pandemic_felt_feelings_numeric 79 0.99 2.140000e+00 9.500000e-01 1 1 2 3 5 ▅▇▅▁▁
phq.little_interest_or_pleasure_in_doing_things_retro_numeric 2011 0.77 6.600000e-01 7.800000e-01 0 0 1 1 3 ▇▆▁▁▁
phq.feeling_down_depressed_or_hopeless_retro_numeric 2009 0.77 7.900000e-01 8.000000e-01 0 0 1 1 3 ▇▇▁▂▁
phq.staying_asleep_sleeping_trouble_retro_numeric 2011 0.77 1.000000e+00 9.300000e-01 0 0 1 1 3 ▆▇▁▂▂
phq.feeling_tired_or_having_little_energy_retro_numeric 2012 0.77 1.110000e+00 8.700000e-01 0 1 1 1 3 ▃▇▁▂▂
phq.poor_appetite_or_overeating_retro_numeric 2012 0.77 7.600000e-01 9.100000e-01 0 0 1 1 3 ▇▅▁▂▁
phq.feeling_bad_failure_family_retro_numeric 2012 0.77 7.400000e-01 8.900000e-01 0 0 1 1 3 ▇▆▁▂▁
phq.trouble_concentrating_reading_newspaper_retro_numeric 2014 0.77 6.400000e-01 8.400000e-01 0 0 0 1 3 ▇▅▁▂▁
phq.moving_fidgety_noticed_opposite_retro_numeric 2015 0.77 2.900000e-01 6.400000e-01 0 0 0 0 3 ▇▂▁▁▁
phq.dead_hurting_thoughts_retro_numeric 2017 0.77 3.400000e-01 7.100000e-01 0 0 0 0 3 ▇▂▁▁▁
phq.little_interest_or_pleasure_in_doing_things_base_numeric 15 1.00 1.290000e+00 1.030000e+00 0 1 1 2 3 ▅▇▁▃▃
phq.feeling_down_depressed_or_hopeless_base_numeric 18 1.00 1.180000e+00 1.030000e+00 0 0 1 2 3 ▆▇▁▃▃
phq.staying_asleep_sleeping_trouble_base_numeric 16 1.00 1.610000e+00 1.130000e+00 0 1 2 3 3 ▆▇▁▅▇
phq.feeling_tired_or_having_little_energy_base_numeric 17 1.00 1.610000e+00 1.040000e+00 0 1 1 3 3 ▃▇▁▅▆
phq.poor_appetite_or_overeating_base_numeric 17 1.00 1.320000e+00 1.150000e+00 0 0 1 2 3 ▇▆▁▅▆
phq.feeling_bad_failure_family_base_numeric 18 1.00 1.010000e+00 1.100000e+00 0 0 1 2 3 ▇▅▁▃▃
phq.trouble_concentrating_reading_newspaper_base_numeric 16 1.00 1.180000e+00 1.070000e+00 0 0 1 2 3 ▇▇▁▅▃
phq.moving_fidgety_noticed_opposite_base_numeric 21 1.00 5.100000e-01 8.500000e-01 0 0 0 1 3 ▇▂▁▁▁
phq.dead_hurting_thoughts_base_numeric 26 1.00 4.500000e-01 8.600000e-01 0 0 0 1 3 ▇▂▁▁▁
phq.sum_score_retro_raw 0 1.00 4.880000e+00 5.470000e+00 0 0 3 7 27 ▇▂▁▁▁
phq.sum_score_base_raw 0 1.00 1.015000e+01 7.010000e+00 0 4 9 15 27 ▇▆▆▃▂
na_per_person_phq_retro 0 1.00 2.080000e+00 3.790000e+00 0 0 0 0 9 ▇▁▁▁▂
phq.missing_only_suicide_item_retro 0 1.00 0.000000e+00 2.000000e-02 0 0 0 0 1 ▇▁▁▁▁
na_per_person_phq_base 0 1.00 2.000000e-02 3.800000e-01 0 0 0 0 9 ▇▁▁▁▁
phq.missing_only_suicide_item_base 0 1.00 0.000000e+00 3.000000e-02 0 0 0 0 1 ▇▁▁▁▁
phq.sum_score_base 36 1.00 1.017000e+01 7.000000e+00 0 4 9 15 27 ▇▆▆▃▂
phq.sum_score_8items_base 0 1.00 1.015000e+01 7.010000e+00 0 4 9 15 27 ▇▆▆▃▂
phq.sum_score_retro 2029 0.77 6.330000e+00 5.440000e+00 0 2 5 9 27 ▇▃▂▁▁
phq.sum_score_8items_retro 0 1.00 4.880000e+00 5.470000e+00 0 0 3 7 27 ▇▂▁▁▁
ocir.felt_pandemic_feelings_numeric 5115 0.41 2.120000e+00 7.600000e-01 1 2 2 3 5 ▃▇▅▁▁
ocir.saved_things_retro_numeric 6148 0.29 6.900000e-01 1.010000e+00 0 0 0 1 4 ▇▃▁▁▁
ocir.i_check_things_more_often_than_necessary_retro_numeric 6144 0.29 7.100000e-01 9.400000e-01 0 0 0 1 4 ▇▅▂▁▁
ocir.arranged_properly_objects_upset_retro_numeric 6144 0.29 8.600000e-01 1.060000e+00 0 0 1 1 4 ▇▅▂▁▁
ocir.feel_compelled_count_things_retro_numeric 6144 0.29 4.200000e-01 9.000000e-01 0 0 0 0 4 ▇▂▁▁▁
ocir.strangers_touch_touched_difficult_retro_numeric 6144 0.29 5.800000e-01 9.600000e-01 0 0 0 1 4 ▇▃▁▁▁
ocir.control_difficult_find_thoughts_retro_numeric 6144 0.29 1.400000e+00 1.210000e+00 0 0 1 2 4 ▆▇▃▃▂
ocir.i_collect_things_i_dont_need_retro_numeric 6145 0.29 7.200000e-01 1.050000e+00 0 0 0 1 4 ▇▃▁▁▁
ocir.i_repeatedly_check_doors_windows_drawers_etc_retro_numeric 6148 0.29 5.300000e-01 9.100000e-01 0 0 0 1 4 ▇▂▁▁▁
ocir.arranged_things_change_upset_retro_numeric 6149 0.29 9.900000e-01 1.160000e+00 0 0 1 1 4 ▇▆▂▁▁
ocir.repeat_feel_numbers_retro_numeric 6147 0.29 2.400000e-01 7.100000e-01 0 0 0 0 4 ▇▁▁▁▁
ocir.clean_simply_wash_feel_retro_numeric 6146 0.29 5.200000e-01 8.700000e-01 0 0 0 1 4 ▇▃▁▁▁
ocir.mind_upset_unpleasant_thoughts_retro_numeric 6146 0.29 1.300000e+00 1.170000e+00 0 0 1 2 4 ▆▇▃▂▁
ocir.afraid_avoid_throwing_things_retro_numeric 6146 0.29 8.600000e-01 1.060000e+00 0 0 1 1 4 ▇▅▂▁▁
ocir.light_switches_water_taps_retro_numeric 6147 0.29 4.300000e-01 8.200000e-01 0 0 0 1 4 ▇▂▁▁▁
ocir.arranged_things_retro_numeric 6146 0.29 8.700000e-01 1.080000e+00 0 0 1 1 4 ▇▅▂▁▁
ocir.good_feel_bad_numbers_retro_numeric 6147 0.29 4.300000e-01 9.400000e-01 0 0 0 0 4 ▇▁▁▁▁
ocir.hands_longer_wash_retro_numeric 6146 0.29 4.500000e-01 8.700000e-01 0 0 0 1 4 ▇▂▁▁▁
ocir.frequently_difficulty_rid_nasty_retro_numeric 6149 0.29 1.190000e+00 1.220000e+00 0 0 1 2 4 ▇▇▃▂▂
ocir.saved_things_base_numeric 5131 0.41 1.010000e+00 1.190000e+00 0 0 1 2 4 ▇▃▂▂▁
ocir.i_check_things_more_often_than_necessary_base_numeric 5115 0.41 1.370000e+00 1.220000e+00 0 0 1 2 4 ▇▇▅▅▂
ocir.arranged_properly_objects_upset_base_numeric 5115 0.41 1.080000e+00 1.200000e+00 0 0 1 2 4 ▇▅▃▂▁
ocir.feel_compelled_count_things_base_numeric 5117 0.41 6.800000e-01 1.120000e+00 0 0 0 1 4 ▇▂▁▁▁
ocir.strangers_touch_touched_difficult_base_numeric 5115 0.41 1.540000e+00 1.380000e+00 0 0 1 3 4 ▇▇▅▅▃
ocir.control_difficult_find_thoughts_base_numeric 5115 0.41 1.930000e+00 1.320000e+00 0 1 2 3 4 ▅▇▆▆▅
ocir.i_collect_things_i_dont_need_base_numeric 5117 0.41 8.200000e-01 1.140000e+00 0 0 0 1 4 ▇▃▂▁▁
ocir.i_repeatedly_check_doors_windows_drawers_etc_base_numeric 5116 0.41 7.000000e-01 1.090000e+00 0 0 0 1 4 ▇▂▁▁▁
ocir.arranged_things_change_upset_base_numeric 5120 0.41 1.230000e+00 1.290000e+00 0 0 1 2 4 ▇▆▃▂▂
ocir.repeat_feel_numbers_base_numeric 5116 0.41 3.500000e-01 8.800000e-01 0 0 0 0 4 ▇▁▁▁▁
ocir.clean_simply_wash_feel_base_numeric 5115 0.41 1.150000e+00 1.170000e+00 0 0 1 2 4 ▇▇▃▂▁
ocir.mind_upset_unpleasant_thoughts_base_numeric 5116 0.41 1.730000e+00 1.300000e+00 0 1 1 3 4 ▅▇▅▅▃
ocir.afraid_avoid_throwing_things_base_numeric 5114 0.41 1.070000e+00 1.220000e+00 0 0 1 2 4 ▇▅▂▂▁
ocir.light_switches_water_taps_base_numeric 5115 0.41 5.200000e-01 9.600000e-01 0 0 0 1 4 ▇▂▁▁▁
ocir.arranged_things_base_numeric 5114 0.41 1.000000e+00 1.190000e+00 0 0 1 2 4 ▇▅▂▂▁
ocir.good_feel_bad_numbers_base_numeric 5115 0.41 5.600000e-01 1.100000e+00 0 0 0 1 4 ▇▁▁▁▁
ocir.hands_longer_wash_base_numeric 5115 0.41 9.600000e-01 1.250000e+00 0 0 0 2 4 ▇▃▂▁▁
ocir.frequently_difficulty_rid_nasty_base_numeric 5116 0.41 1.480000e+00 1.370000e+00 0 0 1 3 4 ▇▇▃▃▃
ocir.sum_score_retro_raw 0 1.00 9.170000e+00 1.551000e+01 0 0 0 21 86 ▇▂▁▁▁
ocir.sum_score_base_raw 0 1.00 1.532000e+01 2.018000e+01 0 0 0 31 90 ▇▃▂▁▁
na_per_person_ocir_retro 0 1.00 1.271000e+01 8.190000e+00 0 0 18 18 18 ▃▁▁▁▇
na_per_person_ocir_base 0 1.00 1.058000e+01 8.860000e+00 0 0 18 18 18 ▆▁▁▁▇
ocir.sum_score_base 5146 0.41 3.712000e+01 1.327000e+01 18 27 34 44 90 ▇▆▂▁▁
ocir.sum_score_retro 6165 0.29 3.120000e+01 1.148000e+01 18 23 28 36 86 ▇▃▁▁▁
alsfrs.limb_weakness_noticed_past_numeric 219 0.97 1.600000e-01 3.700000e-01 0 0 0 0 1 ▇▁▁▁▂
alsfrs.normal_numeric 7341 0.16 7.100000e-01 4.600000e-01 0 0 1 1 1 ▃▁▁▁▇
alsfrs.slow_or_sloppy_all_words_are_legible_numeric 7341 0.16 1.500000e-01 3.500000e-01 0 0 0 0 1 ▇▁▁▁▂
alsfrs.not_all_words_are_legible_numeric 7341 0.16 9.000000e-02 2.900000e-01 0 0 0 0 1 ▇▁▁▁▁
alsfrs.able_to_grip_pen_numeric 7341 0.16 4.000000e-02 1.900000e-01 0 0 0 0 1 ▇▁▁▁▁
alsfrs.unable_to_grip_pen_numeric 7341 0.16 6.000000e-02 2.300000e-01 0 0 0 0 1 ▇▁▁▁▁
alsfrs.have_you_noticed_any_difficulty_walking_numeric 7342 0.16 5.600000e-01 7.500000e-01 0 0 0 1 5 ▇▁▁▁▁
alsfrs.do_you_have_any_difficulty_climbing_stairs_numeric 7338 0.16 1.020000e+00 1.170000e+00 0 0 1 2 4 ▇▃▃▂▁
ess.felt_excessively_sleepy_past_numeric 227 0.97 4.500000e-01 5.000000e-01 0 0 0 1 1 ▇▁▁▁▆
ess.sitting_and_reading_numeric 4919 0.43 1.350000e+00 9.700000e-01 0 1 1 2 3 ▅▇▁▆▃
ess.watching_tv_numeric 4923 0.43 1.480000e+00 9.600000e-01 0 1 1 2 3 ▃▇▁▆▃
ess.sitting_inactive_in_a_public_place_numeric 4930 0.43 5.300000e-01 8.100000e-01 0 0 0 1 3 ▇▃▁▁▁
ess.break_passenger_car_hour_numeric 4934 0.43 1.190000e+00 1.030000e+00 0 0 1 2 3 ▇▇▁▅▃
ess.afternoon_rest_circumstances_lying_numeric 4917 0.44 2.060000e+00 9.700000e-01 0 1 2 3 3 ▂▃▁▅▇
ess.sitting_and_talking_to_someone_numeric 4918 0.44 1.800000e-01 4.900000e-01 0 0 0 0 3 ▇▁▁▁▁
ess.sitting_quietly_after_a_lunch_without_alcohol_numeric 4924 0.43 8.400000e-01 9.100000e-01 0 0 1 1 3 ▇▆▁▂▁
ess.car_minutes_stopped_traffic_numeric 4926 0.43 1.600000e-01 4.900000e-01 0 0 0 0 3 ▇▁▁▁▁
ess.insomnia_numeric 8705 0.00 NaN NA NA NA NA NA NA
ess.narcolepsy_numeric 8705 0.00 NaN NA NA NA NA NA NA
ess.rem_sleep_behaviour_disorder_numeric 8705 0.00 NaN NA NA NA NA NA NA
ess.restless_legs_syndrome_numeric 8705 0.00 NaN NA NA NA NA NA NA
ess.sleep_apnea_numeric 8705 0.00 NaN NA NA NA NA NA NA
ess.sleep_terrors_numeric 8705 0.00 NaN NA NA NA NA NA NA
ess.sleepwalking_numeric 8705 0.00 NaN NA NA NA NA NA NA
ess.other_numeric 8705 0.00 NaN NA NA NA NA NA NA
ess.none_numeric 8705 0.00 NaN NA NA NA NA NA NA
midas.headaches_suffered_past_month_numeric 227 0.97 4.900000e-01 5.000000e-01 0 0 0 1 1 ▇▁▁▁▇
midas.days_past_month_miss_work_school_numeric 4885 0.44 1.370000e+00 4.190000e+00 0 0 0 0 31 ▇▁▁▁▁
midas.days_past_month_work_school_half_productivity_numeric 4927 0.43 2.730000e+00 5.300000e+00 0 0 0 3 31 ▇▁▁▁▁
midas.days_past_month_miss_housework_numeric 4797 0.45 4.200000e+00 6.250000e+00 0 0 2 5 31 ▇▁▁▁▁
midas.days_past_month_housework_half_productivity_numeric 4830 0.45 4.440000e+00 6.640000e+00 0 0 2 6 31 ▇▁▁▁▁
midas.days_past_month_miss_social_activities_numeric 4970 0.43 2.300000e+00 5.320000e+00 0 0 0 2 31 ▇▁▁▁▁
nmss.ability_taste_food_smell_numeric 234 0.97 7.000000e-02 2.600000e-01 0 0 0 0 1 ▇▁▁▁▁
nmss.severe_taste_smell_loss_numeric 8106 0.07 2.370000e+00 1.350000e+00 0 1 2 3 5 ▇▇▆▃▂
nmsw.drink_problems_choking_difficulty_numeric 248 0.97 8.000000e-02 2.700000e-01 0 0 0 0 1 ▇▁▁▁▁
nmsw.regularly_night_pass_urine_numeric 249 0.97 4.000000e-01 4.900000e-01 0 0 0 1 1 ▇▁▁▁▆
nmsw.sex_difficult_finding_numeric 435 0.95 1.100000e-01 3.200000e-01 0 0 0 0 1 ▇▁▁▁▁
nmsw.weak_standing_feeling_light_numeric 250 0.97 3.600000e-01 4.800000e-01 0 0 0 1 1 ▇▁▁▁▅
nmsw.acting_moving_sleep_talking_numeric 272 0.97 1.700000e-01 3.800000e-01 0 0 0 0 1 ▇▁▁▁▂
nmsw.double_vision_numeric 251 0.97 6.000000e-02 2.400000e-01 0 0 0 0 1 ▇▁▁▁▁
tinnitus.ears_noises_minutes_head_numeric 243 0.97 2.600000e-01 4.400000e-01 0 0 0 1 1 ▇▁▁▁▃
tinnitus.ears_noises_minutes_head_frequency_numeric 6509 0.25 2.700000e+00 1.030000e+00 0 2 2 4 4 ▁▂▇▃▆
tinnitus.noises_worry_worst_upset_numeric 6509 0.25 1.150000e+00 8.000000e-01 0 1 1 2 3 ▃▇▁▅▁

Variable type: POSIXct

skim_variable n_missing complete_rate min max median n_unique
startDate.coping 0 1 2020-04-07 10:10:40 2020-08-04 14:44:35 2020-04-24 16:44:19 8695

Definition of prepandemic and baseline

Exlcude people who have joined GLAD/EDGI after the pandemic began, sensitivity analyses done on the cut off’s we have chosen. Potentially GLAD/EDGI particiapnts between January to April. EDGI launched on February 24th.

Prepandemic GLAD/EDGI = Prepandemic (GLAD/EDGI sign-up questionnaire)

Retrospective = COPING/RAMP sign up questionnaire; only of those participants who have reported a change in symptoms

Baseline = COPING/RAMP sign up questionnaire

Dates for the definition of prepandemic

Calculate the time difference between starting the COPING questionnaire and the beginning of the pandemic

Descriptive Statistics  
dat$time_diff_coping_first_case_uk_jan_31  
N: 8705  

                  time_diff_coping_first_case_uk_jan_31
--------------- ---------------------------------------
           Mean                                   12.74
        Std.Dev                                    2.38
            Min                                    9.63
         Median                                   12.10
            Max                                   26.66
        N.Valid                                 8705.00
      Pct.Valid                                  100.00

Calculate the time difference between sign up questionnaire and the beginning of the pandemic

Testing 3, 6, and 9 months before pandemic

Calculate the time difference between sign up questionnaire and COPING questionnaire

Proportion of people signed up over one year ago

Proportion of people signed up over half a year ago

#Total score comparison between PHQ, PCL and GAD, prepandemic, retrospecive and baseline PHQ difference scores

   Min. 1st Qu.  Median    Mean 3rd Qu.    Max.    NA's 
-24.000   2.000   5.000   5.147   8.000  27.000    2039 

GAD difference scores

   Min. 1st Qu.  Median    Mean 3rd Qu.    Max.    NA's 
-21.000   1.000   4.000   4.267   7.000  21.000    2224 

PCL difference scores NOTE: Only computed baseline and prepandemic differences as the retro account here isn’t actually retrospective, but whether the reported baseline scores are due to the pandemic.

   Min. 1st Qu.  Median    Mean 3rd Qu.    Max.    NA's 
  0.000   0.000   2.000   1.928   3.000   6.000    4929 
Frequencies  
dat$pcl.stressful_experience_repeated_images_retro  
Type: Factor  

              Freq   % Valid   % Valid Cum.   % Total   % Total Cum.
----------- ------ --------- -------------- --------- --------------
        Yes   1021     18.25          18.25     11.73          11.73
         No   4573     81.75         100.00     52.53          64.26
       <NA>   3111                              35.74         100.00
      Total   8705    100.00         100.00    100.00         100.00
Frequencies  
dat$pcl.stressful_situation_avoiding_activities_retro  
Type: Factor  

              Freq   % Valid   % Valid Cum.   % Total   % Total Cum.
----------- ------ --------- -------------- --------- --------------
        Yes    653     14.58          14.58      7.50           7.50
         No   3826     85.42         100.00     43.95          51.45
       <NA>   4226                              48.55         100.00
      Total   8705    100.00         100.00    100.00         100.00
Frequencies  
dat$pcl.feeling_irritable_or_having_angry_outbursts_retro  
Type: Factor  

              Freq   % Valid   % Valid Cum.   % Total   % Total Cum.
----------- ------ --------- -------------- --------- --------------
        Yes   3679     55.49          55.49     42.26          42.26
         No   2951     44.51         100.00     33.90          76.16
       <NA>   2075                              23.84         100.00
      Total   8705    100.00         100.00    100.00         100.00
Frequencies  
dat$pcl.stressful_experience_upset_reminded_retro  
Type: Factor  

              Freq   % Valid   % Valid Cum.   % Total   % Total Cum.
----------- ------ --------- -------------- --------- --------------
        Yes   1141     19.62          19.62     13.11          13.11
         No   4675     80.38         100.00     53.70          66.81
       <NA>   2889                              33.19         100.00
      Total   8705    100.00         100.00    100.00         100.00
Frequencies  
dat$pcl.cut_people_feeling_distant_retro  
Type: Factor  

              Freq   % Valid   % Valid Cum.   % Total   % Total Cum.
----------- ------ --------- -------------- --------- --------------
        Yes   5293     72.40          72.40     60.80          60.80
         No   2018     27.60         100.00     23.18          83.99
       <NA>   1394                              16.01         100.00
      Total   8705    100.00         100.00    100.00         100.00
Frequencies  
dat$pcl.difficulty_concentrating_retro  
Type: Factor  

              Freq   % Valid   % Valid Cum.   % Total   % Total Cum.
----------- ------ --------- -------------- --------- --------------
        Yes   3914     56.39          56.39     44.96          44.96
         No   3027     43.61         100.00     34.77          79.74
       <NA>   1764                              20.26         100.00
      Total   8705    100.00         100.00    100.00         100.00

OCI-R difference scores

   Min. 1st Qu.  Median    Mean 3rd Qu.    Max.    NA's 
 -21.00    3.00    6.00    7.76   12.00   72.00    6177 

#Data level groups Identify which data (prepan, retro and baseline) each participant has.


Baseline and retrospective data              Baseline data only 
                           6666                            2003 
        Retrospective data only 
                             10 

GAD


Baseline and retrospective data              Baseline data only 
                           6481                            2199 
        Retrospective data only 
                              5 

PCL


Baseline and retrospective data              Baseline data only 
                           3741                            4541 
        Retrospective data only 
                             35 

OCI-R


Baseline and retrospective data              Baseline data only 
                           2528                            1031 
        Retrospective data only 
                             12 

#Read in respiratory data

GLAD respiratory

Select respiratory variables

EDGI respiratory

Select respiratory variables

NBR respiratory

Select respiratory variables

RAMP respiratory

 [1] "externalDataReference"                                       
 [2] "startDate"                                                   
 [3] "endDate"                                                     
 [4] "Login ID"                                                    
 [5] "respiratory.experienced_symptoms_unusual_shortness"          
 [6] "respiratory.date_symptom_experience.txt"                     
 [7] "respiratory.chillsfeverhigh_temperature"                     
 [8] "respiratory.persistent_cough"                                
 [9] "respiratory.shortness_of_breath"                             
[10] "respiratory.body_achemuscle_pain"                            
[11] "respiratory.sore_throat"                                     
[12] "respiratory.headache"                                        
[13] "respiratory.sneezing"                                        
[14] "respiratory.runny_nose"                                      
[15] "respiratory.blocked_nose"                                    
[16] "respiratory.feeling_generally_unwell"                        
[17] "respiratory.feeling_tiredfatigued"                           
[18] "respiratory.diarrhoea"                                       
[19] "respiratory.hoarse_voice"                                    
[20] "respiratory.unusual_chest_pain_chest"                        
[21] "respiratory.unusual_abdominal_pain"                          
[22] "respiratory.feeling_confused_drowsy_disorientated"           
[23] "respiratory.skipping_meals_because_you_felt_unwell"          
[24] "respiratory.was_your_persistent_cough_dry_"                  
[25] "respiratory.smell_impaired_sense_weeks"                      
[26] "respiratory.what_was_the_highest_temperature_you_had"        
[27] "respiratory.throat_swab_coronavirus_nose"                    
[28] "respiratory.throat_swab_test_nose"                           
[29] "respiratory.coronavirus_week_antibody_test"                  
[30] "respiratory.results_antibody_test"                           
[31] "respiratory.paracetamol_panadol_anadin"                      
[32] "respiratory.ibuprofen_nurofen_brufen_and_calprofen_syrup"    
[33] "respiratory.aspirin"                                         
[34] "respiratory.naproxen"                                        
[35] "respiratory.cold_and_flu_remedies_please_specify"            
[36] "respiratory.cold_and_flu_remedies_please_specify_text.txt"   
[37] "respiratory.none_of_these"                                   
[38] "respiratory.i_called_nhs111"                                 
[39] "respiratory.i_called_my_gp"                                  
[40] "respiratory.face_appointment_face"                           
[41] "respiratory.hospital_accident_attended_emergency"            
[42] "respiratory.field_hospital_hospital_treatment"               
[43] "respiratory.none_of_these.1"                                 
[44] "respiratory.what_dates_were_you_admitted_to_hospital.txt"    
[45] "respiratory.none"                                            
[46] "respiratory.fluids_oxygen"                                   
[47] "respiratory.invasive_ventilation"                            
[48] "respiratory.invasive_ventilation.1"                          
[49] "respiratory.resolved_experienced_symptoms_weeks"             
[50] "respiratory.feel_healthy_date_back.txt"                      
[51] "respiratory.episode_weeks_experienced_ongoing"               
[52] "respiratory.experienced_medical_problem_injury"              
[53] "respiratory.was_the_illness_or_injury_lifethreatening"       
[54] "respiratory.treatment_admitted_hospital_injury"              
[55] "respiratory.injury_result_health_illness"                    
[56] "respiratory.birth_defect_born_child"                         
[57] "respiratory.recent_illness_nature_describe.txt"              
[58] "respiratory.prescribed_regular_medication_change"            
[59] "respiratory.addition_of_a_new_medication"                    
[60] "respiratory.stopping_medication_previously_taking"           
[61] "respiratory.dose_change_medication_previously"               
[62] "respiratory.medication_packaging_field_blank"                
[63] "respiratory.medication_packaging_field_blank.1"              
[64] "respiratory.medication_packaging_field_blank.2"              
[65] "respiratory.medication_packaging_field_blank.3"              
[66] "respiratory.medication_packaging_field_blank.4"              
[67] "respiratory.prescribed_additional_medication_week"           
[68] "respiratory.medication_packaging_field_blank.5"              
[69] "respiratory.medication_packaging_field_blank.6"              
[70] "respiratory.medication_packaging_field_blank.7"              
[71] "respiratory.medication_packaging_field_blank.8"              
[72] "respiratory.medication_packaging_field_blank.9"              
[73] "respiratory.add_discontinued_medication.txt"                 
[74] "respiratory.stopped_medication_previously_taking"            
[75] "respiratory.add_discontinued_medication.txt.1"               
[76] "respiratory.dosing_regimen_record_details"                   
[77] "respiratory.dosing_regimen_record_details.1"                 
[78] "respiratory.dosing_regimen_record_details.2"                 
[79] "respiratory.dosing_regimen_record_details.3"                 
[80] "respiratory.dosing_regimen_record_details.4"                 
[81] "respiratory.worst_ill_feel"                                  
[82] "respiratory.what_dates_were_you_discharged_from_hospital.txt"
[83] "respiratory.taste_impaired_sense_weeks"                      

Select respiratory variables

[1] 34

#Distribution of likert scale COVID-19 symptoms in COPING

Warning: Removed 8750 rows containing non-finite values (stat_count).

Warning: Removed 8749 rows containing non-finite values (stat_count).

Warning: Removed 8752 rows containing non-finite values (stat_count).

#Choosing cut-offs for the likert scale symptoms of “no symptoms”, “mild symptoms”, “moderate symptoms” and “severe symptoms” for the fatigue, persistent cough and skipped meals variables. Coding: 0 = No symptoms 1 = Mild symptoms 2 = Moderate symptoms 3 = Severe symptoms

Results: Persistent cough: “Mild symptoms” as cut off Fatigue: “Severe symptoms” as cut off Skipped meals: “Moderate symptoms” as cut off

[1] 0.3029762
69.70238% 
        1 
[1] 0.08791204
91.2088% 
       3 
[1] 0.192021
80.7979% 
       1 

Creating binary groups for COVID symptoms

Frequencies of binary COVID symptoms

Frequencies  
respiratory.raw.id$respiratory.anosmia_binary  
Type: Numeric  

              Freq   % Valid   % Valid Cum.   % Total   % Total Cum.
----------- ------ --------- -------------- --------- --------------
          0    470     71.32          71.32      4.92           4.92
          1    189     28.68         100.00      1.98           6.90
       <NA>   8888                              93.10         100.00
      Total   9547    100.00         100.00    100.00         100.00
Frequencies  
respiratory.raw.id$respiratory.pcough_binary  
Type: Numeric  

              Freq   % Valid   % Valid Cum.   % Total   % Total Cum.
----------- ------ --------- -------------- --------- --------------
          0    225     28.23          28.23      2.36           2.36
          1    572     71.77         100.00      5.99           8.35
       <NA>   8750                              91.65         100.00
      Total   9547    100.00         100.00    100.00         100.00
Frequencies  
respiratory.raw.id$respiratory.fatigue_binary  
Type: Numeric  

              Freq   % Valid   % Valid Cum.   % Total   % Total Cum.
----------- ------ --------- -------------- --------- --------------
          0    595     74.56          74.56      6.23           6.23
          1    203     25.44         100.00      2.13           8.36
       <NA>   8749                              91.64         100.00
      Total   9547    100.00         100.00    100.00         100.00
Frequencies  
respiratory.raw.id$respiratory.skipped_meals_binary  
Type: Numeric  

              Freq   % Valid   % Valid Cum.   % Total   % Total Cum.
----------- ------ --------- -------------- --------- --------------
          0    460     57.86          57.86      4.82           4.82
          1    335     42.14         100.00      3.51           8.33
       <NA>   8752                              91.67         100.00
      Total   9547    100.00         100.00    100.00         100.00

Rename respiratory dataset joined to main dataset

Probable COVID-19 case identification

Algorithm from Menni et al. to identify probable COVID-19 Variables required: - Sex: 0 Female, 1 Male - Other binary variables: 0 No, 1 Yes
- “respiratory.anosmia_binary”: loss of smell or taste
- “respiratory.pcough_binary”: Persistent cough - “respiratory.fatigue_binary”: Severe fatigue - “respiratory.skipped_meals_binary”: Skipped meals

The COVID prediction model has coded the sexes opposite to our data set

Sex is no available in the RAMP dataset, therefore a proxy sex variable is created whereby Gender = Male and Transgender = No.

Age is not available in RAMP, only categorical age. We will assign each individual the middle value of each age category.

Frequencies  
dat.coping$covid_symptoms  
Type: Numeric  

              Freq   % Valid   % Total
----------- ------ --------- ---------
          0   8062     92.61     92.61
          1    643      7.39      7.39
       <NA>      0                0.00
      Total   8705    100.00    100.00
#COVID prediction model
Frequencies  
dat.coping$covid_odds_ratio_50  
Type: Factor  

                       Freq   % Valid   % Total
-------------------- ------ --------- ---------
            No COVID    460     71.54      5.28
      Probable COVID    183     28.46      2.10
                <NA>   8062               92.61
               Total   8705    100.00    100.00

Probable COVID case including the routing question

Frequencies  
dat.coping$covid_probable_case_incl_screening  
Type: Factor  

                       Freq   % Valid   % Total
-------------------- ------ --------- ---------
            No COVID   8177     97.81     93.93
      Probable COVID    183      2.19      2.10
                <NA>    345                3.96
               Total   8705    100.00    100.00

Rename NBR Sample ID

Export data